Hi,

Just say I have 4 pages on a website. When I am on a page I want the button on 
that particular page to be bold and a different colour so the user know what 
page they are on.

Is there a css only way to do this, or a better way?. At present I am setting 
php variables like this(in this example I am on the 'location page' as it has 
the selected class aswell as the sub_selcted class).......Is there a better way 
to do this?


$details="sub_button";
$location="sub_button sub_selected";
$rates="sub_button";
$enquiry="sub_button";



<div class="<?=$details; ?>" style="margin-left:40px"><a href="jeffrey_st.php" >
Apartment Details</a></div>

<div class="<?=$location; ?>"><a href="jeffrey_st_location.php">
Location</a></div>

<div class="<?=$rates; ?>"><a href="jeffrey_st_rates.php">
Rates & Avaliability</a></div>


<div class="<?=$enquiry; ?>"><a href="enquiry.php">
Enquiry Form</a></div>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to