Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 3rd, 2009, 06:56 PM
Authorized User
 
Join Date: Feb 2005
Location: , , .
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
  #2 (permalink)  
Old April 4th, 2009, 06:02 AM
Friend of Wrox
Points: 894, Level: 11
Points: 894, Level: 11 Points: 894, Level: 11 Points: 894, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: London, , United Kingdom.
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
  #3 (permalink)  
Old April 4th, 2009, 06:08 AM
Friend of Wrox
Points: 894, Level: 11
Points: 894, Level: 11 Points: 894, Level: 11 Points: 894, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: London, , United Kingdom.
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)
  #4 (permalink)  
Old April 4th, 2009, 11:54 AM
Authorized User
 
Join Date: Feb 2005
Location: , , .
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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 03:21 AM
position:absolute nerssi CSS Cascading Style Sheets 3 February 21st, 2005 09:17 AM
Random Numbers not so random... katsarosj ASP.NET 1.0 and 1.1 Basics 5 November 19th, 2003 11:55 PM
[V] NT Crazyness-- 800a0e7a tigergirl Classic ASP Databases 2 September 9th, 2003 11:50 AM



All times are GMT -4. The time now is 03:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.