Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

an aside about css that might help

by thpfft (Chaplain)
on Mar 29, 2003 at 20:11 UTC ( [id://246645]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Create and get rid of frames page with Perl
in thread Create and get rid of frames page with Perl

css2 allows you to change the rule applied to an element according to the context in which you find it. eg. a rule in the form:

li em { ... }

affects only em tags that are immediately contained by li tags. usefully, it works with ids as well as classes. If your original problem is that the formatting needed for the whole page is wrong for one or two elements in the header, then something in this form might work:

p { padding: 10px; ... } #header { border 1pt solid black; ... } #header p { padding: 0; ... }

or it might not. You know. Just in case.

All of which is heading pretty energetically away from the topic, but we could call it the mcfly method: travel back in time far enough and change something to make the problem go away :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://246645]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-28 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found