Jump to content

[SOLVED] HTML/CSS Problems


FlyingIsFun1217

Recommended Posts

Hey!

 

Kinda strange; I've got some css that was working before, but seems to only want to do certain things now. In the following code:

 

div.boxSingle
{
padding:		5px;
background: 		#E4E3FE;
border:			2px solid #666581;
width:			100px;
font-family: 		georgia;
color: 			#47465A;
}

div.boxDouble
{
padding:		5px;
background:		#E4E3FE;
border:			2px solid #666581;
width:			200px;
font-family: 		georgia;
color: 			#47465A;

div.imageTitle
{
color:			#47465A;
text-decoration:	underline;
font-weight:		bold;
}

body
{
background-color: 	#F1F1FE;
}

p
{
color: 			#47465A;
}

h1
{
color: 			#47465A;
}

a:link
{
color: 			#4F6A90;
text-decoration: 	underline;
font-family: 		georgia;
}

a:visited
{
color: 			#374A64;
text-decoration: 	underline;
font-family: 		georgia;
}

a:active
{
color: 			#374A64;
text-decoration: 	underline;
font-family: 		georgia;
}

a:hover
{
color: 			#374A64;
text-decoration: 	underline;
font-family: 		georgia;
}

 

<html>
<head>
	<link rel="stylesheet" type="text/css" href="styles.css">
	<title>Simple PHP Gallery</title>
	<meta name="description" content="Simple image gallery using PHP"/>
</head>
<body>
	<center><h1><a href="http://flyingisfun1217.byethost9.com/gallery/">Simple PHP Gallery</a></h1></center>

	<hr>
<center><table><tr><td><table><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=For Me.jpg">For Me</a></td></tr><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=Gardening.jpg">Gardening</a></td></tr><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=Grass.jpg">Grass</a></td></tr><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=Mellow.jpg">Mellow</a></td></tr><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=River.jpg">River</a></td></tr><tr><td><a href="http://flyingisfun1217.byethost9.com/gallery/viewPic.php?pID=Sunglasses.jpg">Sunglasses</a></td></tr></table></td></tr></table><br><br><div class="boxSingle"><a href="http://flyingisfun1217.byethost9.com/gallery/index.php?page=2">Next Page</a></div></center><hr><center><p>Site created by <a href="http://www.MechGame.co.nr/">FlyingIsFun1217</a> <b>|</b> <a href="http://flyingisfun1217.byethost9.com/gallery/logout.php">Log Out</a> <b>|</b> <a href="http://flyingisfun1217.byethost9.com/gallery/admin.php">Admin Interface</a></p></center></body></html>

 

It should be changing the fonts and colors for links, the background color, etc., but all it seems to do now is give me a div box for my links at the bottom...

 

Thanks for the help!

FlyingIsFun1217

Link to comment
https://forums.phpfreaks.com/topic/109643-solved-htmlcss-problems/
Share on other sites

Well, IE seems to display it as expected, just not mozilla. Even tried clearing out my user data, and it still shows up like that...

 

Is some of the CSS non-mozilla conformant (or not strict CSS)? I'll check with some other sites.

 

Thanks!

FlyingIsFun1217

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.