Jump to content

How to fix look of the page?


murfy

Recommended Posts

I have a site centered on the center, but I had a problem in that the head was
fixed width 800px (use text-align: left ;), while the foot was
stretched to the edge of the maximum (use text-align: center). I therefore want to do
header so that it must be stretched to the edge of page. But there's a problem. once

it is to the edge, so the elements are to the edge too - the parts of text-align left, rebounds elements
header to the edge. I thought I could fix it with absolute
positioning the 2px from left, but it does not help. So how does it actually do?

 

 

x7dbn.jpg

<DIV class=context>
<p id=header>
<IMG SRC=.../images/logo.png" >

<p id=mainmenu>THIS MAIN MENU ID NOT VISIBLE BECAUSE OF CSS BUG: I MADE THE p ELEMENTS TO BE ABSOLUTELY POSITIONED ON LEFT.WISIBETOTO JE HLAVNÍ MENU S BÍLÝM TEXTEM, NENÍ VIDĚT, SCHOVALO SE POD

...here are links to main menu...
</p>

User menu is like this:
<ul id=menu>
<li><a ...><IMG SRC=".../images/messages.gif" > MENU SECTION</a>
<ul>
<li><a ...>SUBMENU></a></li>
<li><a >SUBMENU</a></li>
</ul>
</li>
</ul>
<p>Notice: you have one new message THIS IS ALSO NOT VISSBLE BECAUSE OF CSS BUG</p>

There is a whole html:

http://paste.ofcode.org/KHSU6Ay88K3RW8Ki5mqwCm

Picture Title header, both menu and message need to put in order began
closest to the red lines / arrows.

 

 

PS: Sorry for Google's fucking English.

Edited by murfy
Link to comment
Share on other sites

I have successfuly solved the problem for FF and Opera 9.64 but in IE8 I still have this problem: The header is placed on the left, whilst the yellow content of the page is on the middle. Any idea how to solve the problem?

 

 

21yo0w.jpg

 

Note:

I have replaced the section tag for div (there is img#head) and small (message notice) and menu tags.

 

These tags are blocks having 100% width and the p children are with 779px and margin:auto; or margin: 0 auto;

 

This is how I centered the top in Firefox and Opera, but IE8 still fails to accept the rules.

 

Any solution? I need to move the header containning logo image, notice, main menu and user menu into the same distance of the position of the yellow left side of the page content.

Edited by murfy
Link to comment
Share on other sites

  • 4 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.