Click to See Complete Forum and Search --> : [RESOLVED] CSS different browsers
GoverNment
04-30-2008, 04:10 PM
okay, been reading this article, and decided to try it out
Article:
http://alistapart.com/articles/customcorners/
i sliced up my image, and it's just a black box to get the hang of things
on firefox it looks all messed up, but in internet explorer 7 it looks perfect exactly how i want it..
idk the problem?
http://diberadin.com/government.htm
EDIT: in ie i messed p the cutting of the images on the right side, but it's not to worry about i got the basic idea of it
tracknut
04-30-2008, 04:29 PM
A couple problems jump out at me...
The start of your code should look something like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>TEST</title>
<style type="text/css">
h2 {color: #FFFFFF}
p {color: #FFFFFF}
p {background-color: #000000;
background: #FFFFFF;
font: 0.7em/1.5 Geneva, Arial, Helvetica, sans-serif;
}
Note you were missing the <html> tag, and the <meta> tag. Also look at the second "P" css tag, you had some braces and such in wrong places. Also, you need a </html> tag at the very end of the file.
Do that and see what it looks like...
Dave
GoverNment
04-30-2008, 04:37 PM
A couple problems jump out at me...
The start of your code should look something like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>TEST</title>
<style type="text/css">
h2 {color: #FFFFFF}
p {color: #FFFFFF}
p {background-color: #000000;
background: #FFFFFF;
font: 0.7em/1.5 Geneva, Arial, Helvetica, sans-serif;
}
Note you were missing the <html> tag, and the <meta> tag. Also look at the second "P" css tag, you had some braces and such in wrong places. Also, you need a </html> tag at the very end of the file.
Do that and see what it looks like...
Dave
alright give me a second, thanks alot, i guess i didnt look at it close enough =p
GoverNment
04-30-2008, 04:40 PM
DAVE! i would like to thank you so much! that was exactly my problem, idk how i missed it! sorry for my mistake and thanks for catching it!
tracknut
04-30-2008, 04:55 PM
No problem :)
Dave