hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : need a code correction: xhtml/css
Reply

Web Design and Content Subjects include, HTML, graphics, editors, CSS, Flash, graphics creation, placing of ads, ad serv companies, copyright, content and nearly anything else design related. Also talk about businesses that provide design services. If you link to your site, you must post in Web Site Reviews.
Forum Jump

need a code correction: xhtml/css

Reply Post New Thread In Web Design and Content Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-30-2008, 11:37 AM
Nathan Nathan is offline
Newbie
 
Join Date: Oct 2001
Location: Southeast, USA
Posts: 15

need a code correction: xhtml/css


Hey guys,

I'm having troupble lining the white box/"news section" INLINE with the "Vault 101" navigation. For some reason, I can only get it to go under.

XHTML:
http://www.capitalwasteland.com/index2.html

CSS:
http://www.capitalwasteland.com/css.css

Any corrections are greatly appreciated. Thanks

Reply With Quote


Sponsored Links
  #2  
Old 03-30-2008, 02:25 PM
WebDesignGold WebDesignGold is offline
Web Hosting Guru
 
Join Date: Jul 2004
Posts: 337
Add float:left; to both #nav and #news_box. Add clear:left; to #footer.
You may need other adjustments but I'm sure what I've suggested will align things right. I also suggest using list to your navigation instead of divs.

__________________
My woman left me..
I've got no website..
I've got no money..

Reply With Quote
  #3  
Old 03-30-2008, 04:51 PM
Nathan Nathan is offline
Newbie
 
Join Date: Oct 2001
Location: Southeast, USA
Posts: 15
WebDesignGold -

Your suggestions have fixed my problem. I thank you. I'm new to using divs- I always used tables, but I'm starting to get the hang of these buggers. Before I was unfamiliar with the clear/float properties.

Thanks a bunch!

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?