Wrox Programmer Forums
|
BOOK Beginning CSS: Cascading Style Sheets for Web Design, 2nd Ed; ISBN: 978-0-470-09697-0
This is the forum to discuss the Wrox book Beginning CSS: Cascading Style Sheets for Web Design, 2nd Edition by Richard York; ISBN: 9780470096970
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK Beginning CSS: Cascading Style Sheets for Web Design, 2nd Ed; ISBN: 978-0-470-09697-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 3rd, 2009, 06:56 PM
Authorized User
 
Join Date: Feb 2005
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default bad absolute positioning or random crazyness?

Hi,

I can't seem to figure out why this menu bar is poking out wrong, ONLY on this page with dynamic content. All other pages work fine. Ideas?
http://www.genxbizcoach.com/gen_x_bu..._resources.php

Thanks Richard,

Ian
 
Old April 4th, 2009, 06:02 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 166
Thanks: 2
Thanked 33 Times in 33 Posts
Default

Did you mean to put the menu inside text_area_div? This has relative positioning of left 240px and so could be why the menu is popping out.
On http://www.genxbizcoach.com/about_ge..._education.php you have the menu outside of text_area_div, which seems a more sensible place for it.

HTH
Phil
 
Old April 4th, 2009, 06:08 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 166
Thanks: 2
Thanked 33 Times in 33 Posts
Default

I think i see the issue. Just under the assessments heading you have this code

html4strict Code:
<p class="stTxt"><p><span style="font-family: 'times new roman'; font-size: 16px;">
<div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; background-color: #ffffff;">
<p><span style="font-size: 13px;">Co-authored by Deanne DeMarco,<span style=</p>
This opens two spans which aren't closed anywhere, and there is another one which isn't formed properly. I guess this is your dynamic code not outputting quite right.

Phil
The Following User Says Thank You to philip_cole For This Useful Post:
mishagos (April 4th, 2009)
 
Old April 4th, 2009, 11:54 AM
Authorized User
 
Join Date: Feb 2005
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default Ah, the dangers of dynamic content!

LOL ... Thanks, Phil. The problem turned out to be that I was using TinyMCE, a powerful and otherwise fantastic tool for formatting within textareas and dynamic content for non-geeky folks, but every now and then it formats things you don't expect... and since I cut it off at x characters, it cut off the closing tag.

Thank you.

Ian





Similar Threads
Thread Thread Starter Forum Replies Last Post
relative/absolute positioning whacked bigal CSS Cascading Style Sheets 3 August 4th, 2005 12:06 PM
Absolute position vs. other divs beckfield CSS Cascading Style Sheets 2 March 23rd, 2005 04:21 AM
position:absolute nerssi CSS Cascading Style Sheets 3 February 21st, 2005 10:17 AM
Random Numbers not so random... katsarosj ASP.NET 1.0 and 1.1 Basics 5 November 20th, 2003 12:55 AM
[V] NT Crazyness-- 800a0e7a tigergirl Classic ASP Databases 2 September 9th, 2003 11:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.