Jump to content

Recommended Posts

Posted

Hello All,

 

I'm tying to add more content to a couple of Divs and for some reason the extra won't show! My test web site is at

 

http://www.btinternet.com/~gj.d/garytest/

 

and the divs are #news and #pad, the news is set at a height of 372px and I thought that if I increased this the content would fit and the pad div would adjust accordingly. I think I may be missing something!

 

Thanks you as always,

 

Best wishes

Graeme

Posted

I don't have the time right now to play with this, just a few general points:

 

Setting a height for divisions with contend is usually a bad idea - specifically, if the same layout is used for different pages, as the quantity of the content will surely vary throughout your site. Also, the your new div is not inside the content div, so increasing it won't affect #content.

 

I also see other issues:

 

Why lose doctype? Afraid to write best possible code? :P

 

Use the <h> structure and give your site name -Tryline' and h1, not a p tag.

 

No empty p tags!!!!

 

P tags throughout your site aren't being closed properly.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...