![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||||
| |||||
|
|
I manage a website for a small gaming community that I purchased from a hosting site that caters to gamers. Recently, they released some templates to help us customize things a bit more. What I have currently is a site with a banner/logo on top, and menus on the right side, page content on the left. What I want to do is put the menus on the left side and have the page content shift over accordingly. If I change the layout.html and style.css to put the menu on the left, I can do it easily by adjusting the absolute position |
|
and calling it "leftmenu" instead of "rightmenu" |
|
- the problem is that the page content doesn't shift over like I would expect it to. So I'm guessing that I'm missing something somewhere in either the layout or stylesheet. |
|
I'm not familiar with HTML or CSS at all, so it's been a trial and error process so far. Can someone give me some pointers or link a tutorial that would be help for this kind of thing? |
|
I can post my layout and stylesheet as well, if needed. So frustrated right now. |
#3
| |||
| |||
|
|
This is a fine example illustrating why class names should be functional/content-based rather than positional. If the element had been named "menu" in the first place, you would only need to change its declarations in the CSS. Possibly the markup could remain untouched. |
|
Speaking of guessing. And missing something. How about providing a URL? http://www.archonsofluden.org/ |
|
But if you're as unfamiliar as you say you are with both HTML and CSS, you might be better off getting somebody else (professional, experienced, both) to help you, especially if you have a large project. Learning this stuff takes time (which you may not have), and as a beginner you probably ought to steer away from changing templates with absolute positioning. |
#4
| |||
| |||
|
|
"John Hosking" <John (AT) DELETE (DOT) Hosking.name.INVALID> wrote in message news:46ccebe6$1_5 (AT) news (DOT) bluewin.ch... This is a fine example illustrating why class names should be functional/content-based rather than positional. If the element had been named "menu" in the first place, you would only need to change its declarations in the CSS. Possibly the markup could remain untouched. Can you explain what you mean by this? |
#5
| |||
| |||
|
|
"John Hosking" wrote in message news:46ccebe6$1_5 (AT) news (DOT) bluewin.ch... This is a fine example illustrating why class names should be functional/content-based rather than positional. If the element had been named "menu" in the first place, you would only need to change its declarations in the CSS. Possibly the markup could remain untouched. Can you explain what you mean by this? Are you referring to using margins or padding or cellspacing for tables? |
|
Speaking of guessing. And missing something. How about providing a URL? http://www.archonsofluden.org/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |