!!, What is that in coding? |
![]() ![]() |
!!, What is that in coding? |
Apr 8 2007, 10:44 AM
Post
#1
|
|
![]() So um yeah ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 745 Joined: Aug 2006 Member No: 459,873 |
width:200px!important;
width:203px; When someone puts (!important) in coding what does it mean?? |
|
|
|
Apr 8 2007, 10:46 AM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Important is usually used when you what something to stay the same in all browsers. For instance in some cases you will put width: 300px; and then it doesn't end up looking like that. Important allows , in some cases, things to stay the same in diff browsers. It doesn't work for every single thing, but that is what I know it as.
|
|
|
|
Apr 8 2007, 10:49 AM
Post
#3
|
|
![]() So um yeah ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 745 Joined: Aug 2006 Member No: 459,873 |
Hahaha ironically, I was just looking at a layout and wondering how they got the table to stay the same all browsers... Makes sense
Thanks Toyo, helpful as always!! Oh yeah, what's the best way to make the tables remain the same position wise in all browsers... Will that work for them too? |
|
|
|
Apr 8 2007, 12:07 PM
Post
#4
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Well I find this script works pretty well: CODE <style type="text/css"> . table table {width:auto;} table table td {padding:3px;} table table table td {padding:0px;} table table table {width:220px !important; height:0px;} td.text td a img {width:auto !important;} table table table table table, table table table table table td { width:0px !important; padding:0px !important;} t td.text td.text .orangetext15, td.text td.text table table div {display:none;} </style> Edit the width that says 220px |
|
|
|
Apr 8 2007, 01:11 PM
Post
#5
|
|
![]() So um yeah ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 745 Joined: Aug 2006 Member No: 459,873 |
LOL I figured out what my problem was, I was using an old code as a guideline and I made my div picture with {margin-top: margin-left:} instead of just top and left LOL
Thanks though! I'll keep that in mind for future reference! I guess this can be closed!! |
|
|
|
![]() ![]() |