/    Sign up×
Community /Pin to ProfileBookmark

Changing Frame Colors

Hi,

Is it possible to use CSS to change the frame color from the standard grey to something esle. I have done some looking but cannot find anything specific to formating frame borders

thank you

to post a comment
CSS

10 Comments(s)

Copy linkTweet thisAlerts:
@johnevaMar 05.2006 — If you dont use CSS
[code=html]
<frameset rows="50%,50%" bordercolor="#0000FF">
[/code]


If you use CSS
[code=html]
<style type="text/css">
<!--
frameset {
border: #F00;
}
-->
</style>
[/code]


Heres a tutorial.

http://www.activejump.com/k-2.shtml
Copy linkTweet thisAlerts:
@kprocauthorMar 05.2006 — Thank your help, easier then I thought. I have the frameborder set to 1. I can still see the grey, is there anyway to make the frame thinner. and for some reason the code for CSS is not working
Copy linkTweet thisAlerts:
@johnevaMar 05.2006 — Yeah I was not sure that it would work using that CSS it was something I have never tryed.

Not sure this will work either never tryed I always turned of the border when using frames, but that is how you change the width of your border.
[code=html]
<frameset rows="50%,50%" border="0.1">
[/code]


I dont use frames anymore anyways either. I dont like them myself.
Copy linkTweet thisAlerts:
@kprocauthorMar 05.2006 — Do you mind me asking why you don't like frames. I'm very new to all of this
Copy linkTweet thisAlerts:
@johnevaMar 05.2006 — Well I have just had a quick play around and I see what you mean now it colors the main face of the borded but not he side bits to give it the rised effect.

I dont know how to do it or even if it can be done sorry.
Copy linkTweet thisAlerts:
@johnevaMar 05.2006 — Do you mind me asking why you don't like frames. I'm very new to all of this[/QUOTE]

Here is one of many many articles that explain the drawbacks of frames.

http://www.karlcore.com/articles/article.php?id=2
Copy linkTweet thisAlerts:
@kprocauthorMar 05.2006 — Thanks for the link. This has made me rethink the design of my web page. The reason that I'm using frames is so that my navidation bar on the left and the header remain static. Would using a table be a better alternative.
Copy linkTweet thisAlerts:
@NogDogMar 05.2006 — The general consensus now is that the "best practice" for page layout is to use CSS rather than frames or tables to control the visual layout of a page.

http://www.w3.org/MarkUp/Guide/Style

http://www.htmldog.com/guides/cssbeginner/

http://www.hotdesign.com/seybold/
Copy linkTweet thisAlerts:
@kprocauthorMar 05.2006 — I have an easy question, I've reviewed the web sites explaining CSS, how Do I put it together to set up a page that has a column for links and a header.
Copy linkTweet thisAlerts:
@NogDogMar 05.2006 — I have an easy question, I've reviewed the web sites explaining CSS, how Do I put it together to set up a page that has a column for links and a header.[/QUOTE]
http://www.bluerobot.com/web/layouts/
×

Success!

Help @kproc spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...