This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2006 > css applies to an item I don't want it to.....





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author css applies to an item I don't want it to.....
Simonbullen

2006-02-12, 6:30 pm

hi there, on my intranet page I have various CSS styles applied via a linked
style sheet. Also on my page I have calendar pop-ups to enter dates in my form
fields, now, the problem is that the popup is picking up styles from the style
sheet and popping up way out of the way to where I want it to be.... my
initial thought was to apply a style to the pop up, but it is generated by a
linked. js file, so i'm a bit lost as to how to solve my issue..... any ideas
please..?

many thanks

Simonbullen

2006-02-12, 6:33 pm

:confused;
Murray *TMM*

2006-02-12, 6:33 pm

How could someone answer without seeing your code?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Simonbullen" <webforumsuser@macromedia.com> wrote in message
news:dsdgnf$14r$1@forums.macromedia.com...
> :confused;



Murray *TMM*

2006-02-12, 6:33 pm

I think I'm going to go with 60K, too. Now that dialups are compressing
data, it seems ok to me....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:dsdhuq$2o2$1@forums.macromedia.com...
> How could someone answer without seeing your code?
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
>
> "Simonbullen" <webforumsuser@macromedia.com> wrote in message
> news:dsdgnf$14r$1@forums.macromedia.com...
>
>



Donna Casey

2006-02-12, 6:34 pm

Simonbullen wrote:
> hi there, on my intranet page I have various CSS styles applied via a linked
> style sheet. Also on my page I have calendar pop-ups to enter dates in my form
> fields, now, the problem is that the popup is picking up styles from the style
> sheet and popping up way out of the way to where I want it to be.... my
> initial thought was to apply a style to the pop up, but it is generated by a
> linked. js file, so i'm a bit lost as to how to solve my issue..... any ideas
> please..?



chances are that you are approaching your css without using contextual
styles... for example, defining the size of text or the color of it in a
paragraph by defining the properties and values used by the selector:

p {property:value}

rather than confining those properties and values to a selector in a
SPECIFIC container, as in

#sidebar p {property:value}

which would limit the effects of the rule to only paragraphs that appear
in the #sidebar and would never (for example) affect paragraphs in a
container #calendar


HTH
:D

Simonbullen

2006-02-12, 6:34 pm

Donna, thank you very much for that very useful response

I understand what you are saying, upon my return to work tommorow I shall have
a play, and I hope you wouldn't mind If i have any further questions

thanks again

Simonbullen

2006-02-12, 6:34 pm

Murray, thanks for the replies, sorry I didn't post any code, I felt it
wouldn't help as the object that is inheriting the style is created from
Javascript, so really all I could post is my style sheet, and I wasn't sure if
it would help atall on its own

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews