| Q. | What does type="text/css" within the HTML code <style type="text/css"> mean? | Related Search: Programming & Design | | | What does it mean?
When I removed it, nothing changed.
Or also for inline style sheets?
| | A. | it means that the code inside the <style type="text/css"> and end </style> tags is css coding, if there is nothing in it, then nothing will change. Newer browsers don't necessarily need that but older ones do, so if you do not see a change, there might be a change on IE 6 and lower. for inline style sheets you just add it to whatever tag, i.e. <p style="color:blue;padding:5px;"> if you remove that style tag the color will go to default and the padding will be removed. | | | |
| Q. | style type="text/css">? | Related Search: Programming & Design | | | style type="text/css">
body { background-color:262e3a; }
body { background-image: url([Link] ); }
body { background-attachment: fixed; background-repeat: no-repeat; background-position: bottom left; }
.contactTable { width: 300px; height: 150px; }
.contactTable { background-image: url([Link] ) }
.contactTable { background-color: transparent; background-attachment: scroll; background-repeat: no-repeat; background-position: center center; }
.contactTable { padding: 0px !important; }
.contactTable table, table.contactTable td { padding: 0px !important; border: 0px; background-color: transparent; background-image: none; }
.contactTable a img { visibility: hidden; border: 0px !important; }
.contactTable .whitetext12 { display: none; }
.contactTable .text { font-size: 1px !important; }
.contactTable .text, .contactTable a, .contactTable img { filter: none !important; }
span.blacktext12 { width: 435px; height: 220px; }
span.blacktext12 { background-image: url([Link] ) }
span.blacktext12 img { display: none !important; }
table table table td { vertical-align: top !important; }
span.blacktext12 { background-color: transparent; background-attachment: scroll; background-repeat: no-repeat; background-position: center center; }
span.blacktext12 { visibility: visible !important; font-size: 0px; letter-spacing: -0.5px; display: block !important; }
table table table td { background-color: 12161c; }
table table table { background-color: 12161c; border-color:1b2129; }
body, table, td, tr, th, .text, .blacktext10, table tr td table tr td div { color: ffffff !important; }
a:link, a:visited, a.redlink:link, a.redlink:visited { color: afd4ff !important; }
a:hover, a.redlink:hover { color: 89afdb !important; }
.btext,.whitetext12,.nametext,.orangetext15, .redbtext, .redtext, table tr td table tr td table tr td div strong { color: b8c2d0 !important; }
.lightbluetext8 { color: b8c2d0 !important; }
body, div, p, table, td, tr, th, .lightbluetext8, .blacktext10, .blacktext12, .btext, .text, .orangetext15, .whitetext12, a:link, a:visited, a:hover, a.navbar, a.navbar:visited, a.navbar:hover, a.redlink, a.redlink:visited, a.redlink:hover, .nametext, .redbtext, .redtext { font-size: 12px; font-family: 'Arial', 'sans-serif'; }
table, tr, td { background-color: transparent; border: none; border-width: 0; }
table table table { border-width: 6px; border-style: solid; }
table table, table table table table { border: 0; }
a:link, a:visited, a.redlink:link, a.redlink:visited { font-weight: bold; text-decoration: none; }
a:hover, a.redlink:hover { font-weight: bold; text-decoration: underline; }
.btext,.whitetext12,.nametext,.orangetext15, .redbtext, .redtext,
table tr td table tr td table tr td div strong { margin: 0; padding:0; font-size: 14px; font-weight:bold; }
.nametext { font-size: 18px; font-weight: bold; text-align: center; }
.lightbluetext8 { font-weight: bold; }
</style><br><a href="[Link] MySpace Layouts by Mr. Doe!</a>
| | A. | End your style with a closing </style> tag and in your beginnng tag...
style type="text/css">
change to:
<style type="text/css">
Gotta love those MySpace layouts :roll: | | | |
| Q. | what does <style type="text/css"> mean? | Related Search: MySpace | | | i am trying to make a comment box and layouts but dont understand what that means.
the code i'm referring to goes like this
<style type="text/css">
input. [ Violet Images x ] {color: 000000 !important;
background-image:url("[Link] ;);
| | A. | Its just a tag code for CSS which will always start with <style type="text/css"> and will end with </style> to close the code
CSS stands for Cascading Style Sheets
CSS is a breakthrough in Web design because it allows developers to control the style and layout of multiple Web pages all at once. As a Web developer you can define a style for each HTML element and apply it to as many Web pages as you want. To make a global change, simply change the style, and all elements in the Web are updated automatically. | | | |
| Q. | Why Isn't This Code Working? Code:<style type="text/css"> #avatar_name { background: url(insert your image url? | Related Search: Programming & Design | | | I Add An Image URL But It's Not Working.. [Link] <- That's The Image URL I Used..Help? D:
| | A. | If "avatar_name" is the main content container you want to use the background in, then put this between the head tags:
<style type="text/css">
#avatar_name {
wudth: 1024px;
height: 875px;
margin: 0 auto;
background: url([Link] .layoutsparks.com/ 1/ 161696/ emo-love-11-t.gif) no-repeat center scroll;
}
</style>
Added spaces for the image's URL so YA would show all the code. That CSS will work for the one div container:
<div id="avatar_name">
Rest of page contents
</div>
Ron | | | |
| Q. | Why isn't the CSS style not applying? | Related Search: Programming & Design | | | I wrote the following HTML code in Adobe Dreamweaver, but the CSS styles don't seem to make any change to the page. Where is the problem?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[Link] ;
<html xmlns="[Link] ;
<head>
<title>Pixel's Page</title>
<style type=”text/css”>
.navbar {
background-color: #CCC;
border-bottom: #999;
border-left: #999;
border-width: 0 0 thin thin;
border-style: none none groove groove;
display: block;
float: left;
margin: 0 0 0 10px;
padding: 0 10px 0 10px;
width: 100px;
}
</style>
<meta [Link] >” content=”text/html; charset=ISO-8859-1” />
</head>
<body>
<h1>I'm Pixel the Cat. Welcome to my page.</h1>
<div class=”navbar”>
Links of interest:<br />
<a href=”[Link] />
<a href=”[Link] />
<a href=”[Link] ;
</div>
<img src="file:///C|/Documents and Settings/Administrator.MIHAI/Desktop/cat.jpg" alt=”The Cat” width=”320” height=”240”
id=”theCat” />
</body>
</html>
| | A. | There is a strange character in the place of double quotes: I have corrected them here. Try this again:
-----------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[Link] -…
<html xmlns="[Link] ;
<head>
<title>Pixel's Page</title>
<style type="text/css">
.navbar {
background-color: #CCC;
border-bottom: #999;
border-left: #999;
border-width: 0 0 thin thin;
border-style: none none groove groove;
display: block;
float: left;
margin: 0 0 0 10px;
padding: 0 10px 0 10px;
width: 100px;
}
</style>
<meta [Link] ; content="text/html; charset=ISO-8859-1" />
</head>
<body>
<h1>I'm Pixel the Cat. Welcome to my page.</h1>
<div class="navbar">
Links of interest:
<a href="[Link] ;
<a href="[Link] ;
<a href="[Link] ;
</div>
<img src="file:///C|/Documents and Settings/Administrator.MIHAI/Desktop/cat… alt="The Cat" width="320" height="240"
id="theCat" />
</body>
</html> | | | |
| Q. | 3 different ways to incorporate CSS into a page? | Related Search: Programming & Design | | | I know 2 of them but whats the third?
<link rel = "stylesheet" type="text/css" href="style.css">
<style type="text/css">
| | A. | Inline styles e.g. <a style="text-decoration: underline; color: #fc0;" href="someLink">Some Link Text</a>. | | | |
| Q. | why isnt the text centering "vertically" inside the div? im new to css? | Related Search: Programming & Design | | | Im trying to learn css by reading tutorials and do hands on. I use dreamweaver CS3. I cannot get the text to center "vertically" inside the div. can anyone tell me why? I though I was using the correct css, the verticle align code is there:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[Link] ;
<html xmlns="[Link] ;
<head>
<meta [Link] ; content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
#testdiv {
position:absolute;
left:45px;
top:44px;
width:964px;
height:103px;
z-index:1;
background-color: #00FFCC;
vertical-align: middle;
text-align: center;
}
-->
</style>
</head>
<body>
<div id="testdiv">sample text</div>
</body>
</html>
| | A. | Because CSS is stupid. Apparently, because the default "display" property of a div doesn't accept vertical alignment, you have to set the display to something that DOES accept it before it'll take. Try including:
display: table-cell;
That'll do the trick.
DaveE | | | |
|
|