NameSilo

First webpage, having 2 problems

SpaceshipSpaceship
Watch

bryan

Established Member
Impact
0
Hey, I'm new to web design and this is my first web page: http://gx-temp-domain.50megs.com/ (it's for my brood war clan). Having a couple problems with it, though, the first of which is that I have unsightly blue/purple boxes around my site's buttons. Is this because they're each in their own table row/cell? I've tried setting the "link" and "vlink" attributes to "white" in my body tag in order to match the white background, but that didn't seem to work.

The next problem is with the iframe in the middle of the page. I sized it so that it would look tasteful in IE6, but when looking at the page with Mozilla (linux compile) it's distorted. Is there a way that I can ensure cross-compatiblity between browsers?

That's it, thanks!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
for the the blue around your buttons, add this to your image code

border="0"

solution to 2nd problem, i dont know, dont use frames :P
 
0
•••
that worked, thanks a lot :D
what could I use as an alternative to iframes? I need a place to use my perl scripts (once I get mod_perl figured out...)
 
0
•••
np, and i dunno what else u can use, sry.
 
0
•••
you can use ssi (server side includes) or javascript :D what cgi are you trying to run?
 
0
•••
a news script, I think they're called form processors?

I've got a new problem now, I'm trying to set bg.jpg (my iframe background image) as news.html's background... problem is that it's tiling the image: http://gx-temp-domain.50megs.com/main.html

know how to fix this?

edit: I've fixed the problem with a table hack, but isn't there some way that I can simply tell the browser not to tile background?
 
Last edited:
0
•••
i get the same problem in mozilla for windows

looking at the problem its to do with your table,s

<td width="600" height="100" rowspan="6">
<iframe src="news.html" frameborder="0" scrolling="yes" hspace="0" vspace="0" width="100%" height="97%"></iframe>
</td>

you only have the height at 100px make it higher, and set the hight of the iframe to 100% and it will grow :)
 
0
•••
works beautifully now, thanks
 
0
•••
Put this in your head tag of the frame page you have your table:

<style type="text/css">
<!--
.bg {
background-attachment: fixed;
background-image: url (images/add-your-link.gif);
background-repeat: no-repeat;
background-position: left top;
}
-->
</style>


And put this in your table tags where you weant the above image to appear:

class="bg"

So your table code would look like this (round about):


<table width="100%" border="0" cellspacing="0" cellpadding="0" class="bg">
<tr>
<td height="77"> </td>
</tr>
</table>


Hope this helps, there is another way, just I do it similar to this most of the time so it was easy to write.

Warm Wishes,

LOL, well ya'll beat me to it now didnt ya!

works beautifully now, thanks

Excellent! B-)
 
Last edited:
0
•••
Originally posted by bryan
that worked, thanks a lot :D
what could I use as an alternative to iframes? I need a place to use my perl scripts (once I get mod_perl figured out...)

PHP includes may also work. I'd recommend just including the IFRAME content into a general site template.
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back