Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-23-2012, 05:05 AM   PM User | #1
mec120
New to the CF scene

 
Join Date: Sep 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
mec120 is an unknown quantity at this point
Post Help with html for my website!

Hey everyone,
At the moment I'm coding a website but i'm stuck on something that I can't seem to figure out for the life of me. So I have got the navigation bar and all the links work fine but i'm trying to write text under the nav bar. The problem being the text goes onto the nav bar and binds to it so if I try and move it with css it brings the nav bar with it.

10px:
http://i1111.photobucket.com/albums/...ps6d95b5e7.png
50px:
http://i1111.photobucket.com/albums/...ps37ec652b.png

Source Code:

index.html
http://pastebin.com/bRMLcan0

main.css
http://pastebin.com/mA49Y3P4
mec120 is offline   Reply With Quote
Old 09-23-2012, 10:04 AM   PM User | #2
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,827
Thanks: 9
Thanked 685 Times in 679 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
Looks like you need to clear your floats after #navigation.

You can do this either by assigning overflow:auto to #navigation, or just adding clear:both to the element that comes after #navigation.
SB65 is online now   Reply With Quote
Reply

Bookmarks

Tags
coding, forum, html, website

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:32 PM.


Advertisement
Log in to turn off these ads.