Topic: Tips for CSS Styling when you can't change the markup? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=30620" title="Pages that link to Topic: Tips for CSS Styling when you can&amp;#039;t change the markup? (Page 1 of 1)" rel="nofollow" >Topic: Tips for CSS Styling when you can&#039;t change the markup? <span class="small">(Page 1 of 1)</span>\

 
Maskkkk
Paranoid (IV) Inmate

From: Johnstown, PA
Insane since: Mar 2002

posted posted 10-27-2008 18:04

Hello,

I have a client that has given me access to the CSS but not to the markup that makes up the page. The markup is sadly running in Quirks Mode.

The page uses vertical Super Fish menus, which are sadly embedded deep withing a flow of nested tables.

I'd like to put a border at the bottom of the vertical list, but the <UL> tag renders too wide, and I can't change the CSS class of the elements to do something like li.bottom to create the border on the last element in the list.

Is there anyway to accomplish this?



- AIM: MASKKKK

01001101011000010111001101101011011010110110101101101011

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 10-27-2008 18:32

ul.zeClassname li:last-child { }

or if you know the exact number of items, and know that it's not gonna change:

ul.zeClassname li+li+li+li+li {}



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu