A bar or table entirely across the top of a web page

What’s the best way to create upon bar that goes ENTIRELY through the top of the actual page, as within the following example

http: //www. easyeverything. com

The page border properties happen to be set to 0, using CSS.

Code:
< style type=" text/css" >
entire body margin: 0px
< /style> 

Is all that’s necessary.

Then all you need to do is create any table and spot your content inside, at the top with the page. It is usually done using a 100% width absolutely positioned DIV.

Code:
< html>
< entire body style=" padding: 0px; border: 0px; " >
< desk style=" width: 100%; " >
< tr> < td> CONTENT< /td> < /tr>
< /table>
< /body>
< /html>

Unclear how well that 'body' CSS I put hard work, I typically type out HTML PAGE attributes for margins, as well as the above. 

the trend is to check how he/she should it

view source should you best friend!

Karinne, you need to ignore my messages so that you can post lol.

That’s twice in a row I posted what you need and the code along with a few hours later you say something within the answer.

my spouse and i don’t ignore former post. you gave that person the ideal answer… i just planned to tell that person to look at the source as soon as he/she sees something on another web-site he/she likes… that is all. it usually aid and he/she doesn’t must wait for one among us to give him/her the result. that’s all!

placed this code with body tag

TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0

Thanks for your entire responses–I knew there is a pretty straightforward route to do it, just simply didn’t know which will, lol. I’m going to experiement w/ these individuals tonight. -).

This entry was posted in Web Design and tagged , , , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *