Sinisterly
Lil help with CSS - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Design (https://sinister.ly/Forum-Design)
+--- Forum: Web Design (https://sinister.ly/Forum-Web-Design)
+--- Thread: Lil help with CSS (/Thread-Lil-help-with-CSS)

Pages: 1 2 3 4 5 6


RE: Lil help with CSS - unnamed - 10-03-2013

(10-03-2013, 12:12 PM)Geoff Wrote: Mmmm why not use 2 different id's? one with the delay and one without it?

Because I want it to be on the same one.


RE: Lil help with CSS - unnamed - 10-03-2013

(10-03-2013, 12:12 PM)Geoff Wrote: Mmmm why not use 2 different id's? one with the delay and one without it?

Because I want it to be on the same one.


RE: Lil help with CSS - Slarek - 10-03-2013

@FZEROX
What you want is that two elements, which have the same id but different actions.
I can't understand how that would be possible.
If you don't want to use ID, try Class. Although i think that wasn't the solution you were looking for.


RE: Lil help with CSS - Slarek - 10-03-2013

@FZEROX
What you want is that two elements, which have the same id but different actions.
I can't understand how that would be possible.
If you don't want to use ID, try Class. Although i think that wasn't the solution you were looking for.


RE: Lil help with CSS - Slarek - 10-03-2013

@FZEROX
What you want is that two elements, which have the same id but different actions.
I can't understand how that would be possible.
If you don't want to use ID, try Class. Although i think that wasn't the solution you were looking for.


RE: Lil help with CSS - The Real Slim Shady - 10-03-2013

(10-03-2013, 12:48 PM)FZEROX Wrote:
(10-03-2013, 12:12 PM)Geoff Wrote: Mmmm why not use 2 different id's? one with the delay and one without it?

Because I want it to be on the same one.

i dunno, maybe there is a way... but that to me is like asking someone to paint your car blue and red at the same time.

if they have the same id, how is the browser expected to determine which code in the block YOU want executed?? it cant tell just from that, what it is you want. as far as the browser is concerned, it executes the entire block of code when that id is called.


RE: Lil help with CSS - The Real Slim Shady - 10-03-2013

(10-03-2013, 12:48 PM)FZEROX Wrote:
(10-03-2013, 12:12 PM)Geoff Wrote: Mmmm why not use 2 different id's? one with the delay and one without it?

Because I want it to be on the same one.

i dunno, maybe there is a way... but that to me is like asking someone to paint your car blue and red at the same time.

if they have the same id, how is the browser expected to determine which code in the block YOU want executed?? it cant tell just from that, what it is you want. as far as the browser is concerned, it executes the entire block of code when that id is called.


RE: Lil help with CSS - The Real Slim Shady - 10-03-2013

(10-03-2013, 12:48 PM)FZEROX Wrote:
(10-03-2013, 12:12 PM)Geoff Wrote: Mmmm why not use 2 different id's? one with the delay and one without it?

Because I want it to be on the same one.

i dunno, maybe there is a way... but that to me is like asking someone to paint your car blue and red at the same time.

if they have the same id, how is the browser expected to determine which code in the block YOU want executed?? it cant tell just from that, what it is you want. as far as the browser is concerned, it executes the entire block of code when that id is called.


RE: Lil help with CSS - unnamed - 10-03-2013

(10-03-2013, 01:00 PM)Slarek Wrote: @FZEROX
What you want is that two elements, which have the same id but different actions.
I can't understand how that would be possible.
If you don't want to use ID, try Class. Although i think that wasn't the solution you were looking for.

One element that some styling has delay and some hasnt.


RE: Lil help with CSS - unnamed - 10-03-2013

(10-03-2013, 01:00 PM)Slarek Wrote: @FZEROX
What you want is that two elements, which have the same id but different actions.
I can't understand how that would be possible.
If you don't want to use ID, try Class. Although i think that wasn't the solution you were looking for.

One element that some styling has delay and some hasnt.