Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Upgrade your account to a Community Supporter account and remove most of the site ads.
Community
General Tabletop Discussion
*Geek Talk & Media
CSS Positioning in Mozilla and IE
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MythosaAkira" data-source="post: 1098777" data-attributes="member: 2428"><p>I'm working on re-designing my website to conform to Web standards and in the process I've finally switched over to using CSS as well (well, more than I was in the past). I've run into a problem, though, that I'm hoping someone here might be able to help with.</p><p></p><p>The layout of my page is based off the "Two Column Layouts" method over at <a href="http://www.bluerobot.com/web/layouts/" target="_blank">BlueRobot</a>. The CSS they use basically gives you a header at the top of the page, a leftside menu, and a content area (pretty standard). My problem is that I want to put a border around each area: header, menu, and content. Using their method, where the menu has an absolute position and the content is relative, things line up fine in Mozilla, but not in IE. When I use absolute positioning for the content as well, everything lines up fine in both, but if the content area goes off the browser, IE doesn't display the lower border when you scroll down. Not a really big deal, but it would look better if IE did the same thing as Mozilla.</p><p></p><p>Here's the (editted) CSS I'm talking about:</p><p></p><p>#Header {</p><p> margin:15px 20px 10px 20px;</p><p> width: auto;</p><p> padding:10px;</p><p> height:90px;</p><p> border-style: double;</p><p> border-color: #8b4513;</p><p> border-width:5px 5px;</p><p> line-height:11px;</p><p> background-color: #ffffff;</p><p> text-align: center;</p><p> }</p><p></p><p>#Content {</p><p> position:absolute;</p><p> top:160px;</p><p> left:220px;</p><p> right:20px;</p><p> padding:10px;</p><p> border-style: double;</p><p> border-color: #8b4513;</p><p> border-width:5px 5px;</p><p> background-color: #ffffff;</p><p> }</p><p></p><p>#Menu {</p><p> position:absolute;</p><p> top:160px;</p><p> left:20px;</p><p> width:140px;</p><p> padding:10px;</p><p> background-color:#ffffff;</p><p> border:5px double #8b4513;</p><p> line-height:17px;</p><p> text-align: right;</p><p>}</p><p></p><p>Hope I'm being clear. I'm not very experienced with using style sheets, so I'm not sure if this is something I'm doing or something in one of the browsers.</p><p></p><p>Thanks!</p></blockquote><p></p>
[QUOTE="MythosaAkira, post: 1098777, member: 2428"] I'm working on re-designing my website to conform to Web standards and in the process I've finally switched over to using CSS as well (well, more than I was in the past). I've run into a problem, though, that I'm hoping someone here might be able to help with. The layout of my page is based off the "Two Column Layouts" method over at [URL=http://www.bluerobot.com/web/layouts/]BlueRobot[/URL]. The CSS they use basically gives you a header at the top of the page, a leftside menu, and a content area (pretty standard). My problem is that I want to put a border around each area: header, menu, and content. Using their method, where the menu has an absolute position and the content is relative, things line up fine in Mozilla, but not in IE. When I use absolute positioning for the content as well, everything lines up fine in both, but if the content area goes off the browser, IE doesn't display the lower border when you scroll down. Not a really big deal, but it would look better if IE did the same thing as Mozilla. Here's the (editted) CSS I'm talking about: #Header { margin:15px 20px 10px 20px; width: auto; padding:10px; height:90px; border-style: double; border-color: #8b4513; border-width:5px 5px; line-height:11px; background-color: #ffffff; text-align: center; } #Content { position:absolute; top:160px; left:220px; right:20px; padding:10px; border-style: double; border-color: #8b4513; border-width:5px 5px; background-color: #ffffff; } #Menu { position:absolute; top:160px; left:20px; width:140px; padding:10px; background-color:#ffffff; border:5px double #8b4513; line-height:17px; text-align: right; } Hope I'm being clear. I'm not very experienced with using style sheets, so I'm not sure if this is something I'm doing or something in one of the browsers. Thanks! [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Geek Talk & Media
CSS Positioning in Mozilla and IE
Top