Topic: Dashed iframe borders? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=23457" title="Pages that link to Topic: Dashed iframe borders? (Page 1 of 1)" rel="nofollow" >Topic: Dashed iframe borders? <span class="small">(Page 1 of 1)</span>\

 
ryanvh22
Obsessive-Compulsive (I) Inmate

From:
Insane since: Sep 2004

posted posted 09-28-2004 02:55

I'm working on a new site, here it is:
http://www.onefreehost.com/ryanvh22/blockhead/main.html
I want to make the iframe with the marquee in it (on the left of the page) have a dashed black border. I know how to do this in my css

code:
iframe { border: 1px #000000 dashed;}


but I have two iframes in the page, and I don't want both to have borders.

Is there a way to make only one iframe have a dashed black border?

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 09-28-2004 03:37

create a class in your stylesheet -

.dashed-border {
border:#000 1px dashed;
}

in your HTML, call the class for the iframe (or any other element) for which you want the dashed border -

<iframe class="dashed-border">

Or, if you have several specific styles you want for that particular iframe, setup an id -

#my-iframe {
styles...
}

and call it in your HTML -

<iframe id="my-iframe">

ryanvh22
Obsessive-Compulsive (I) Inmate

From:
Insane since: Sep 2004

posted posted 09-28-2004 04:16

Awesome, thanks man



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu