Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
new with css and div, whats wrong with my code?!!!
Old 09-01-2005, 02:11 PM new with css and div, whats wrong with my code?!!!
Average Talker

Posts: 20
Trades: 0
http://www.royalcraftsman.com/index_...struction.html

for some reason when you view it with firefox it comes out correctly, but in IE it doesn't want to show the 3 images nested in the parent div table... what am i doing wrong?
dpcamp is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-01-2005, 02:56 PM
TwiztedFake's Avatar
Skilled Talker

Posts: 77
Location: Central, IL
Trades: 0
in div.parent you have the height set to 100%. This is not support by most browsers.

Also in the div's for the images the height is missing px

Your line is height: 200; it should be height: 200px;

Same goes for all three image div's
__________________

Please login or register to view this content. Registration is FREE
TwiztedFake is offline
Reply With Quote
View Public Profile Visit TwiztedFake's homepage!
 
Old 09-01-2005, 03:00 PM
King Spam Talker

Posts: 1,186
Location: Manchester, UK
Trades: 0
also....

don't mix float with absolute positioning, it doesn't make sense.

I got this to work:

Code:
div.parent {
	background: url(images/index_01.gif) top left no-repeat;
	position: absolute;
	width: 792px;
	height: 100%;
	float: center;
	border: solid #000000 1px;
	background-color: #ffffff;
	text-align: left;
	left: 10%;
	right: 10%;
	top: 0px;
}


div.image1{
	margin-top: 17px;
	width: 250px;
	height: 200;
	border: none;
	float: left;
}
div.image2{
	margin-top: 17px;
	width: 243px;
	height: 200;
	border: none;
	float: left;
}
div.image3{
	margin-top: 17px;
	width: 299px;
	height: 200;
	border: none;
	float: left;
}
gringo is offline
Reply With Quote
View Public Profile Visit gringo's homepage!
 
Old 09-01-2005, 03:15 PM
Average Talker

Posts: 20
Trades: 0
thanks gringo that seemed to fix the problem.. one more thing.. i am going to next a few more boxes into the parent, is this a good idea? or should i stick with tables?
dpcamp is offline
Reply With Quote
View Public Profile
 
Old 09-01-2005, 05:24 PM
Average Talker

Posts: 20
Trades: 0
ok look at the link again.. thats excactly what i want the page to look like in IE too, i need to be about to put text on that top bar for links and the bottom bar as well
dpcamp is offline
Reply With Quote
View Public Profile
 
Old 09-02-2005, 06:30 PM
Average Talker

Posts: 20
Trades: 0
ok one more problem... http://www.royalcraftsman.com/index2.html
open that in firefox and in internet explorer. its buggy on both broswers...
dpcamp is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to new with css and div, whats wrong with my code?!!!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24506 seconds with 12 queries