Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic 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
Reply
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old January 23rd, 2007, 08:45 AM
Authorized User
 
Join Date: Jan 2007
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks, i may be best using the table row method as i dont want the link to span the entire cell visually. what i want is that when the 'little hand' enters the cell, the colour changes and the link is available throughout

Reply With Quote
  #12 (permalink)  
Old January 23rd, 2007, 08:56 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Did you *try* meow's suggestion? It does exacrly that.....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #13 (permalink)  
Old January 23rd, 2007, 10:42 AM
Authorized User
 
Join Date: Jan 2007
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My apologies.. it seems to be fine now, im just not familiar with the styling code. Is there anywhere i can obtain notes on the text/CSS formatting? thanks

Reply With Quote
  #14 (permalink)  
Old January 23rd, 2007, 03:46 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

You'll find a lot of useful, but sometimes hard to understand information on the W3C site: http://www.w3.org/Style/CSS/

There's also a great Wrox book about CSS: Beginning CSS: Cascading Style Sheets for Web Design by Richard York.

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #15 (permalink)  
Old January 23rd, 2007, 07:39 PM
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
quote:Originally posted by gjeardle
 thanks, i may be best using the table row method as i dont want the link to span the entire cell visually. what i want is that when the 'little hand' enters the cell, the colour changes and the link is available throughout
Now I'm confused. Isn't what you describe as what you want exactly what you first say you don't want - that the link spans the whole cell visually? ;)

And don't hang on so hard to those cells. As you've seen you can create a square box without a table, so what do you need it for?

--
http://yupapa.com
Reply With Quote
  #16 (permalink)  
Old January 24th, 2007, 11:33 AM
Authorized User
 
Join Date: Jan 2007
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok meow, sorry for the confusion, its down to my being a web novice.

anyway.. what i have looks fine, but im struggling with the padding element, my menu is looking good, but dont understand how the '.5em & .3em' (padding) works.. ive tried to change the size, length & gap between cells and its messing me up.

Reply With Quote
  #17 (permalink)  
Old January 24th, 2007, 12:08 PM
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

In my example? 'padding' is shorthand for all 4 padding properties. -top, -right, -bottom and -left in that order.
http://www.w3.org/TR/CSS2/box.html#propdef-padding

The gap is caused by 'margin-bottom'.

You may find this introduction useful. It's CSS 1 only, but that doesn't matter. It explains the concept in not too many words..
http://www.htmlhelp.com/reference/css/structure.html
Or maybe start here.
http://www.htmlhelp.com/reference/css/


--
http://yupapa.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Contentpage stretching table cells rsearing ASP.NET 2.0 Basics 3 November 14th, 2006 10:39 PM
How to know cells in table is merging?? DorisTan VB How-To 0 January 13th, 2005 09:50 PM
Table Links samdavis HTML Code Clinic 2 November 30th, 2004 06:38 AM
links in table fields (td) amc Dreamweaver (all versions) 0 August 30th, 2004 09:20 PM
Addling table links from VB MoyesBlue Crystal Reports 0 May 20th, 2004 04:36 AM



All times are GMT -4. The time now is 01:04 AM.


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