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 ISBN: 978-0-7645-7642-3
This is the forum to discuss the Wrox book Beginning CSS: Cascading Style Sheets for Web Design by Richard York; ISBN: 9780764576423
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 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 September 1st, 2005, 10:12 PM
Registered User
 
Join Date: Aug 2005
Location: , NJ, USA.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic bolding causes surrounding text to move.

Hi again -

I have an issue now where I have a short, right-aligned text grouping at the bottom of my page which offers a copyright statement and a link to a privacy policy. in that order. (See http://linuxdev.outofchaos.com/hamiltondev). The privacy policy text becomes bold on mouseover which makes the text grow or shrink depending on the font, and when this occurs the copyright text before it shifts to the left or right as a result. I was able to get around this issue on the footer navigation by giving each menu option its own space to live in so that its metamorphosis doesn't affect anything else, but I am having difficulty with this bottom one because it is right-aligned. Anyway, I think I can get something similar to work, but it just seems that this should be handleable in CSS alot easier than having to supply a width to a container element. Is there some CSS definition that will allow text to expand into its own padding, for instance? Any ideas?

As a side-note, in scouring the web for a solution, I found that many authors simply swap to a more pronounced color on mouse-over to achieve a bold look without actually bolding. I suppose this method is so popular precisely due to the problem I'm having.
  #2 (permalink)  
Old October 7th, 2005, 07:50 AM
Registered User
 
Join Date: Aug 2005
Location: , NJ, USA.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nevermind - I ended up doing what I was trying to avoid...making a block element around the word to be bolded, just a bit bigger than the word to be bolded, so that the word can expand without adjusting other elements that are outside the block. Seems like alot to go through for this simple effect.

 


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
Bolding some record of report [Solved] Svenzardda Access VBA 4 July 18th, 2007 09:04 AM
Can't set text property of dynamic text box sreerajrs ASP.NET 1.0 and 1.1 Professional 1 May 31st, 2006 10:39 PM
Move focus to field without selecting text echovue Access VBA 1 April 12th, 2006 02:52 AM
loop values and text box values move mateenmohd Classic ASP Basics 2 April 6th, 2005 12:33 AM
Bolding threads bmains Forum and Wrox.com Feedback 0 February 3rd, 2005 12:35 PM



All times are GMT -4. The time now is 11:52 AM.


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