|
Post by Moonstar on Jun 28, 2008 14:35:36 GMT -5
*sigh* I'm having trouble with my new i-frames layout. First: The backround is way too big for the layout. I want the page to be as big as layout. Second: The frame links are going into new windows. I tried it as Larry suggested, but screwed up the layout. Third: How to I make a php page with this layout? Here's the link: moonlitstars.sailor-senshi.org/newlayout.htmlHelp is appreciated.
|
|
|
Post by Ellethwen on Jun 28, 2008 15:55:17 GMT -5
Let's say your frame is called iframe. It id is also called myframe, and is used to call the CSS commands assigned to it. Then your tag would look like this:
<iframe id="iframe" name="iframe" width="blank" height="blank" frameborder="0" src="blank.html"></iframe>
Links would look like this:
<a href="blank.html" target="iframe">Link</a href>
|
|
Larry Laffer
Dream Mirror
l33t Smartass
I shall not BOW! EVER!
Posts: 6,625
|
Post by Larry Laffer on Jul 3, 2008 4:17:10 GMT -5
My advice, for your own sake when coding, don't put the name the same as the id.
And your problem is within the CSS, that's what's breaking your layout!
|
|
|
Post by Moonstar on Jul 10, 2008 0:19:30 GMT -5
Thanks, it worked. I got myself into another jam, I'm getting this error: Fatal error: out of dynamic memory in yy_create_buffer() in /homepages/24/d173020842/htdocs/moonlitstars/top.php on line 1
This is my top.php- <html> <head> <style type="text/css" title="currentStyle"> @import "red.css"; </style> <TITLE>[Moonlit Stars vers. Rhapsody in Red]</TITLE> </head> <body> <body background="http://moonlitstars.sailor-senshi.org/Rhapsody/images/newlayout_10.jpg">
This is my Main.php-
<? include('top5.php'); ?> <!-- CONTENT BEGINS HERE --> <p class="head"><font color="#FFFFFF"> <p align=center><i>Welcome</i></p> <p class="content"> <p align=center> Hi and welcome to Moonlit Stars, owned by Moonstar and hosted by sailor-senshi.org!<br> We are now celebrate 5 years on the internet!<br> Princess Kakyuu and her guardians invite you to explore their world of Kinmoku.<br> Have fun!</p>
<p align="center"><i>Updates</i><br>6/28: New Layout</P> <? include('bottom.php'); ?>
HELP???
|
|
|
Post by Sailor Demand on Jul 14, 2008 16:03:11 GMT -5
i hope you solve your issue good luck
|
|
|
Post by Ellethwen on Jul 15, 2008 0:02:24 GMT -5
I recommend that you include the full PHP path for where your file is stored. I had that issue too.
I'm assuming /homepages/24/d173020842/htdocs/moonlitstars/ is your path, so your string that calls in top.php should include the full path before it. If top.php isn't saved in the root directory, make sure you add the folder it's saved in to the path.
|
|
Larry Laffer
Dream Mirror
l33t Smartass
I shall not BOW! EVER!
Posts: 6,625
|
Post by Larry Laffer on Jul 15, 2008 11:33:29 GMT -5
And if that fails, contact your host and tell them the server got fux'd up!
|
|
|
Post by Ellethwen on Jul 15, 2008 23:57:33 GMT -5
-.- Her host is Betty Ann, Larry.
|
|
Larry Laffer
Dream Mirror
l33t Smartass
I shall not BOW! EVER!
Posts: 6,625
|
Post by Larry Laffer on Jul 16, 2008 1:39:14 GMT -5
Ohkies...
Eur... just do what Ellethwen said >_<
|
|
|
Post by Moonstar on Jul 16, 2008 22:46:22 GMT -5
I got it fixed, but the iframe bg won't change even though I have changed the .css file and the top.php file.
|
|
|
Post by Ellethwen on Jul 17, 2008 23:40:58 GMT -5
If you're using a different sheet for the pages inside the frame make sure you're changing that sheet to use the new background. Otherwise, that's really weird o.0
|
|
|
Post by Moonstar on Jul 28, 2008 0:03:15 GMT -5
one last little problem: I changed my link color and visited color on my css file but my page isn't reading it, I'm still getting the blue and purple link colors.
|
|
|
Post by Ellethwen on Jul 28, 2008 0:14:48 GMT -5
Can you post your CSS code?
|
|
|
Post by Moonstar on Jul 28, 2008 0:16:10 GMT -5
oh, sorry!
A:link font-family: TypoUpright BT; text-decoration: underline; color: #E3A9A3; A:visited font-family: TypoUpright BT; text-decoration: underline; color: #AC493D; A:active font-family: TypoUpright BT; text-decoration: underline; color: #E3A9A3; A:hover font-family: TypoUpright BT; text-decoration: none; color: #AC493D;
body background: #E3A9A3; scrollbar-arrow-color: #FFFFFF; scrollbar-darkshadow-color: #AC493D; scrollbar-track-color: #FFFFFF; scrollbar-face-color: #672323; scrollbar-shadow-color: #FFFFFF; scrollbar-highlight-color: #E3A9A3; scrollbar-3dlight-color: #FFFFFF;
body, td font-family:Souvenir Lt BT; font-size:12px; text-align: justify; margin: 0; padding: 0; color: #FFFFFF; cursor: crosshair;
.title color: #FFFFFF; letter-spacing:2px; border: 1px solid #FFFFFF; background-color: none; font-size: 18px; font-family: Souvenir Lt BT;
h1 font-size:20px; h2 font-size:19px; h3 font-size:18px; h4 font-size:16px; h5 font-size:15px; h6 font-size:14px;
#container position:relative; text-align:left; top: 0px; left: 60px; width: 545px; height: 525px; background-color: #E3A9A3; padding: 0px; border: solid;
|
|
|
Post by Ellethwen on Jul 28, 2008 1:39:42 GMT -5
First of all, this TypoUpright font--I don't think many people will have that font installed. If someone doesn't have it installed, it won't display correctly. It's better to use more universal fonts, such as Georgia or Verdana. But that's just me. You can also choose a list of fonts, so that if a person doesn't have a font installed, it'll go to the next one in the list, and so on.
That would work like this: font-family: TypoUpright, Georgia, Arial, etc....
ANYWAYS. I've cleaned up and re-ordered your stylesheet. Check if this works.
body { background-color: #E3A9A3; scrollbar-arrow-color: #FFFFFF; scrollbar-darkshadow-color: #AC493D; scrollbar-track-color: #FFFFFF; scrollbar-face-color: #672323; scrollbar-shadow-color: #FFFFFF; scrollbar-highlight-color: #E3A9A3; scrollbar-3dlight-color: #FFFFFF; }
A:link{font-family: TypoUpright BT; text-decoration: underline; color: #E3A9A3;} A:visited{font-family: TypoUpright BT; text-decoration: underline; color: #AC493D;} A:active{font-family: TypoUpright BT; text-decoration: underline; color: #E3A9A3;} A:hover{font-family: TypoUpright BT; text-decoration: none; color: #AC493D;}
body, td { font-family:Souvenir Lt BT; font-size:12px; text-align: justify; margin: 0; padding: 0; color: #FFFFFF; cursor: crosshair; }
.title { color: #FFFFFF; letter-spacing:2px; border: 1px solid #FFFFFF; background-color: none; font-size: 18px; font-family: Souvenir Lt BT; }
h1 { font-size:20px; }
h2 { font-size:19px; }
h3 { font-size:18px; }
h4 { font-size:16px; }
h5 { font-size:15px; }
h6 { font-size:14px; }
#container { position: relative; text-align: left; top: 0px; left: 60px; width: 545px; height: 525px; background-color: #E3A9A3; padding: 0px; border: solid; }
I'm curious; why so many tags for headings? If you're not going to use them all, then you should maybe thinka bout eliminating them. It cuts down a little on the size of the stylesheet ^.^;
|
|