|
Posted by Jeff on 06/19/06 20:26
Hey, thanks for responding to my thread!
You wrote this in your previous post:
"Correct me if I'm wrong, but your question is "How do I put rounded
corners on an element?" "
That is almost correct, in addition to setting the rounded corners
(represented as 2 .gif files) I also want the background of the element to
have the same color as the .gif files. take a look at this link:
http://home.online.no/~au-holme/pub/66202/index.php (this link is a copy of
what I've done so far, it uses the code I posted in my first post in this
thread ). At that link you see that when you are hovering the mouse over a
item ("TEST 2" for example) the backgrund of the element changes color. But
instead of showing a different color when hovering, I want the selected item
to have a different background color (needs to set background-color +
replace those to .gif files with .gif files with a different color)
The select item is this:
When the user clicks on one of the item the page is directed to the same
page but with some other GET parameters. In my php code I use $_GET to
obtain the selected item value and then I use that value to set the
background color (including using different .gif files) on that specific
list item... - if for example selected value is 4, then it means that it's
on list item #4 I have to set a different background color on, compared to
those other list items....
clear?
Best Regards!
Jeff
"Philip" <NikitaTheSpider@gmail.com> wrote in message
news:NikitaTheSpider-B625F5.14030219062006@news-rdr-01-ce0-1.southeast.rr.com...
> In article <-7idnVo2qcfpeQvZ4p2dnA@telenor.com>,
> "Jeff" <it_consultant1@hotmail.com.NOSPAM> wrote:
>> "Philip" <NikitaTheSpider@gmail.com> wrote in message
>> news:NikitaTheSpider-74A56A.11433819062006@news-rdr-01-ce0-1.southeast.rr.com.
>> > So let me get this straight: the UL is a navigation menu, and if the
>> > user clicks on, say, item #6, she'll be directed to a page with this
>> > same navigation menu on it but item #6 should look different from the
>> > others. Is that correct? Why not have a style like so:
>> > #CurrentlySelectedMenuItem { font-weight: bold; }
>> >
>> > Then use PHP to build your UL and give the 6th LI an
>> > id="CurrentlySelectedMenuItem".
>>
>> But I uses 2 css blocks to set the background color of the link, because
>> the
>> background has rounded corners. Each css block uses it's own .gif file...
>> (left-tab.gif and right-tab.gif). I don't think I can set these 2 images
>> using just 1 css block.
>
> Correct me if I'm wrong, but your question is "How do I put rounded
> corners on an element?"
>
> BTW your reply to me was difficult to read because it was not properly
> quoted and was top-posted. You're more likely to get help if you make it
> easy for others to read what you write.
>
> --
> Philip
> http://NikitaTheSpider.com/
> Bulk HTML validation, link checking and more
Navigation:
[Reply to this message]
|