Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Cascading Style Sheets, Need help

views
     
crynobone
post Oct 15 2005, 12:59 PM

1'm n0t @ n00b n0t y3t @ 1337
*******
Senior Member
2,811 posts

Joined: Jan 2003
From: Somewhere in middle earth


QUOTE(ikram_zidane @ Oct 15 2005, 12:50 PM)
but both of the layers are using the same attributes...its like both layer depends on one css code.anyone plz help me...
*
Use this
CODE
#content
{
position: absolute;
width: 491px;
margin-top:115px;
left:58px;
text-decoration: none;
text-align:left;
font-family:Verdana, Arial, Helvetica, sans-serif, "Trebuchet MS";
word-spacing:0.1em;color:#66851B;
font-size:11px;line-height:20px;
}
#content a:link, #content a:visited, #content a:active {
color:#536625;
text-decoration: none;
}
#content a:hover {
color:#8EA654;
text-decoration: none;
}
#nav
{
position: absolute;
width: 166px;
margin-top:120px;
left:563px;
text-decoration: none;
text-align:left;
font-family:Verdana, Arial, Helvetica, sans-serif, "Trebuchet MS";
word-spacing:0.1em;color:#506C1A;
font-size:11px;line-height:20px;
}
#nav a:link, #nav a:visited, #nav a:active {
color:#536625;
text-decoration: none;
}
#nav a:hover {
color:#FFFFF;
text-decoration: none;



QUOTE(ikram_zidane @ Oct 15 2005, 12:54 PM)
also how do i make automated borders like in this page ?? (look like a frame somehow)..
http://alvinwoon.com/blog/index.php/2005/1...s-not-standard/
*
Which part are you referring to?
crynobone
post Oct 15 2005, 02:02 PM

1'm n0t @ n00b n0t y3t @ 1337
*******
Senior Member
2,811 posts

Joined: Jan 2003
From: Somewhere in middle earth


QUOTE(ikram_zidane @ Oct 15 2005, 01:50 PM)
the border for the pictures/screenshot...
*
For example you want to set image under div called #content to have border. Use this

HTML
<div id='content'>Some text <img src='filename.jpg' alt='' /> some other text</div>


inside the CSS write this.

CODE
#content img {
padding: 2px 2px 2px 2px; border:1px solid #333; vertical-align:middle;
}


Padding depend or how far you want to set it from the image.
crynobone
post Oct 18 2005, 07:31 PM

1'm n0t @ n00b n0t y3t @ 1337
*******
Senior Member
2,811 posts

Joined: Jan 2003
From: Somewhere in middle earth


QUOTE(kaixiang @ Oct 18 2005, 02:48 PM)
izzit that css can only used in html ?
*
I can be use with any Server-Side Scipting technology as long at it still use HTML Tag to display the result inside a browser.
crynobone
post Oct 20 2005, 01:38 PM

1'm n0t @ n00b n0t y3t @ 1337
*******
Senior Member
2,811 posts

Joined: Jan 2003
From: Somewhere in middle earth


QUOTE(ikram_zidane @ Oct 19 2005, 10:37 PM)
it's not that.. there already a tutorials about the classes..

i just want to change the 'row4' and 'row2''s type to white color...
*
*Just gotten online since my phone connection failed for some reason*

For using black oriented skin I wouldn't really suggest setting BODY color attribute to white since there would tend to be much hassle making everything look nice with it. One option is to create a personalize class or ID attribute in CSS just to cater the part which use blackish background.

But to do that you must first now how tweak the overall HTML properties.

 

Change to:
| Lo-Fi Version
0.0134sec    0.31    6 queries    GZIP Disabled
Time is now: 25th November 2025 - 07:10 AM