Need help getting rid of unwanted space |
![]() ![]() |
Need help getting rid of unwanted space |
Jan 8 2006, 09:06 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 12 Joined: Oct 2004 Member No: 56,851 |
I'm trying to have half my page as flash and the other part as a jpg image but there seems to have a space between them that I don't want. My xanga is HERE if anyone wants to take a look...
*Notes: -the space between the flash and the jpg is 3 pixels -the flash is 264px wide, the jpg is 386px wide, both are 600px high -as far as I know, it only works on Internet Explorer but I haven't tried Netscape yet.. -most of this is not coded by me -if anyone knows who coded this, I will be glad to give credit |
|
|
|
| *digital.fragrance* |
Jan 8 2006, 09:09 PM
Post
#2
|
|
Guest |
Make each part, the flash and the jpg, div layers. Then position them accordingly.
|
|
|
|
Jan 8 2006, 09:31 PM
Post
#3
|
|
|
Member ![]() ![]() Group: Member Posts: 12 Joined: Oct 2004 Member No: 56,851 |
How do I position something in a div? Is it something like this...
CSS: body{..} .flash {position:relative; top:0px; left:0px;} .jpg {position:relative; top:0px; left:264px;} HTML: <div class="flash"><embed>...</div> <div class="jpg"><img src="...></div> |
|
|
|
| *digital.fragrance* |
Jan 8 2006, 09:34 PM
Post
#4
|
|
Guest |
Just the div layers will position. Like this:
By editting the margin numbers, you position them on your page. I don't think the CSS has anything to do with it. Oh yeah - can you put your code from your first post in a codebox? Thanks! |
|
|
|
Jan 8 2006, 09:50 PM
Post
#5
|
|
|
Member ![]() ![]() Group: Member Posts: 12 Joined: Oct 2004 Member No: 56,851 |
Hmm...still doesn't work....Any other suggestions?
|
|
|
|
Jan 9 2006, 08:10 PM
Post
#6
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
If there are any line breaks within your code between the image and the flash, take those out as well.
|
|
|
|
Jan 9 2006, 09:37 PM
Post
#7
|
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Jan 2006 Member No: 348,207 |
|
|
|
|
| *digital.fragrance* |
Jan 10 2006, 04:31 PM
Post
#8
|
|
Guest |
I PMed you - I hope it helped.
|
|
|
|
![]() ![]() |