Jump to content

alphanumetrix

Members
  • Posts

    167
  • Joined

  • Last visited

Everything posted by alphanumetrix

  1. here are the basics to CSS: create a new file, call it style.css. then link to that file as shown below: <html> <head> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> </body> </html> Then, inside your CSS, edit your brackets as such: body { background:#YOURBGCOLOR; text-align:center; color:#FF0000; /*makes the font color red */ } To edit brackets, add classes and id's to them. Remember, though, that ID's are only to be used ONCE per document, and CLASSES are to be used more than once: <html> <head> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="frame">some text in our frame</div> </body> </html> then, add it to your CSS: body { background:#YOURBGCOLOR; text-align:center; color:#FF0000; /*makes the font color red */ } div#frame { /* the hash represents the ID */ background:none; text-align:center; float:center; position:static; } Now if you were to use it more than once, you'd make it a class, as shown below: <html> <head> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="frame">some text in our frame</div> <div class="frame">some text in our frame again</div> </body> </html> then, add it to your CSS: body { background:#YOURBGCOLOR; text-align:center; color:#FF0000; /*makes the font color red */ } div.frame { /* the period represents the class */ background:none; text-align:center; float:center; position:static; }
  2. for the body, just change it in the body. body { background:#YOURCOLOR; }
  3. My info was from my old site... I used joomla and it showed the IE 6 users. Only about 2% of our traffic used it. We used to get a good 300,000 a month, too. I suppose that's a little biased though; my traffic consisted of mostly computer people. I just figured everyone updates their browser when a new one comes out though, so I didn't think of it as biased.
  4. that's weird... php.net says "elseif" doesn't work with a space... sorry, i couldn't help....
  5. To get it exact, you'll have to fiddle with the positioning and size. If I seen the exact script and image you were working with, I could help you with that.
  6. Not with just HTML. You'll need to interegrate some PHP (or some other object-oriented server language) into it as well.
  7. bridge the CSS. just search "bridged css" and you'll find a post I wrote on it, explaining how it works. In your case though, you need to forget <!--[iE 6]> and just use <!--[iE]>
  8. HTML is more likely to be used for the styling and developement of the page. The PHP is used for the programming and functioning of the page.
  9. this is on your computer? i've never done that before; i always test on my server. the space you've set up on your computer has probably ran out. you need to remove some files. my guess why it says "line 53" is because that's as far as it can read, due to a data restriction. that's all i've got on this one???
  10. I'll do it for you. If you send me an email: info@akatsukidesigns.com
  11. the guy above was too vague, and indecisive. Add class="bg" to your input: <input type="text" class="bg" /> then add this CSS code to your site: input.bg { background:url(link to your background image here); } alternatively, if you don't know CSS, you could put this in your <head>: <style type="text/css"> input.bg { background:url(link to your background image here); } </style> That will put an image in the background of the text field. If you want to actually put an image over a text field, you'll have to do that with how that guy said. Although, I'm 98% sure that's not what you're looking for, because you said add src="". Plus, it's a stupid idea to begin with, because it will keep you from being able to type in the field.
  12. yeah, the guy above me is right. it's probably not because your server doesn't have PHP installed; most likely cause is PHP mail is just restricting on your server. Are you on shared server by chance? *god, i hate this verification thingy
  13. You should break it up into functions to make it cleaner. The problem is you put this: else if ($daynum == '5') { else if won't execute how you wrote it (you put a space in between). This is how it needs to be done: elseif ($daynum == '5') { Also, you don't need to put ' around your 5: elseif ($daynum == '5') { Since its a numeral, you can just leave them off: elseif ($daynum == 5) { hope this helps!
  14. You need to do a CSS bridge. I don't have IE6, so I can't tell you what code to replace it with, but this should work below: Site example: <html> <head> <link href="LINK TO YOUR CSS FILE" rel="stylesheet" type="text/css"> <!--[if IE 6]> <link href="LINK TO YOUR CSS BRIDGE HERE" rel="stylesheet" type="text/css"> <![endif]--> </head> <body> </body> </html> The CSS bridge is basically a separate document with special instructions for a specific browser (in this case, IE6). All you do is redefine the same CSS ID in it, so it'll work in IE six: #categories_footer { SPECIAL INSTRUCTIONS FOR IE BROWSER HERE!! } Your regular CSS file doesn't need to be changed. Just use what works for other browsers. It's important that you put the link to the bridged CSS BELOW!! the original CSS link. This is because CSS's are Cascading Style Sheets, so it's updated as the file descends. BTW, not many people use IE 6 anymore, so you shouldn't stress it too much unless you have a high-traffic site. Also, the <!--[if ie]> code only works with IE. To bridge different browsers - such as FireFox, you need different codes (don't feel like writing them out though). Hope this helps!
×
×
  • 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.