hosted by liquidweb


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

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



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..

  #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!

Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Hosting Sales and Promos Roundup – April 11, 2014 Web Hosting News 2014-04-11 14:59:29
Free WHD.global Registration with the WHIR Coupon Code Blog 2014-01-30 13:24:20
Web Hosting Sales and Promos Roundup - October 4, 2013 Web Hosting News 2013-10-04 16:09:46
Cloud Industry Forum Establishes Cloud Service Provider Code of Practice Web Hosting News 2012-09-21 12:38:23
DigiCert Launches Extended Validation Code Signing Certificates Web Hosting News 2012-08-15 15:30:28


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?