Jump to content

jlhaslip

Members
  • Posts

    2,568
  • Joined

  • Last visited

Everything posted by jlhaslip

  1. Hers is another method to centre the pictures using a div and is xhtml valid. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <title>An XHTML 1.0 Strict standard template</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /><style type="text/css" >div.center{margin: 0 auto;text-align:center;}</style></head><body><div class="center"><a href="whatever_you_want_to_link_to.ext"><img src="image1" alt="alt here" /></a><a href="whatever_you_want_to_link_to.ext"><img src="image2" alt="alt here" /></a><a href="whatever_you_want_to_link_to.ext"><img src="image3" alt="alt here" /></a><a href="whatever_you_want_to_link_to.ext"><img src="image4" alt="alt here" /></a></div></body></html>
  2. Not presently available using html.For this, you need to use a scripting language such as php or asp and "include" the file.Check the w3schools Tutorials.
  3. jlhaslip

    page align

    We need the css file to look at, please.
  4. jlhaslip

    help me....!!

    And what error are you getting. It should be included with the topic, please.
  5. I just view the page and there is a Javascript problem someplace. 600 errors makes me think the script is looping badly. Seems to increase the fastest when the mouse moves? Error: menuitem1 has no propertiesSource File: http://www.stoneshowroom.ca/phpindex4.phpLine: 36
  6. Is this what you want? That code placed in the left-hand column? <html><head><link rel="stylesheet" type="text/css" href="2c-hd-lc-static-layout.css" /><link rel="stylesheet" type="text/css" href="2c-hd-lc-static-presentation.css" /><style type="text/css"> A:link {text-decoration: none} A:visited {text-decoration: none} A:active {text-decoration: none} A:hover {font-size:24; font-weight:bold; color: red;}</style></head><body><div id="hdr"> //layout for header from css layout file will go here </div><div id="lh-col"> // layout for menu section from ccs file will go here <!-- include the code for the "MENU" here??? --> </div><div id="rh-col"> // layout for main content from css file will go here </div></body></html>
  7. Ahhhh! Haven't gotten you off of Tables yet. Soon, I hope.
  8. Quick Answer:I would learn html and then CSS first. The Xhtml is a snap once you have a andle on the html and css. Subtle differences in the coding, and the CSS can also be used during the html stage. CSS is used in both.
  9. CSS : img {margin: 0 auto;text-align:center // for older browsers} or in-line: style="margin: 0 auto; text-align:center;"
  10. Drop the javascript and check out this link: http://www.cssplay.co.uk/menus/dd_valid.htmlJavaScript has difficulties running through the w3c validator. and if yoyu seek validation, the script I link to should do that.And the "menu=" is deprecated, so dropping that will make the html/css valid and functioning better.
  11. jlhaslip

    positioning in css

    I look at it as absolute is relative to the Display Screen and relative is absolutely within its "containing block". (div, usually)
  12. oops! Right. Sorry. It late at night here. Good catch.
  13. Are the items "floated"?We need to see some of your code, dude. We are psycho, not psychic.
  14. Here is the link for the page you are reading. h t t p://w3schools.invisionzone.com/index.php?showtopic=11371&hl=* spaces added to avoid bbcode parsing (I hope) h t t p ://w3schools.invisionzone.com/index.php indicates the address and file to be searched for on the net. We are all familiar with the structure, right?And this is the 'query string' which passes two value pairs with an ampersand separating them.. ? -- starts the query stringshowtopic=11371 -- first value pair& -- separatorhl= -- second value pair In this example, the second value is empty. The php file which receives the query string has the value of $_GET['showtopic'] and $_GET['hl'] to determine the actions is performs. It is very likely that the showtopic value is used to find information in the database for this topic, and what the empty pair indicates, I have no clue.*editted to fix Gets *
  15. jlhaslip

    creating thumbnails

    There are a bunch of functions used in Image work. Check for information at php.net.Start here: http://ca.php.net/manual/en/function.getimagesize.phpScroll down a few pages to see a couple of thumbnail scripts.
  16. Try this:Wrap it in a div and give the div a specified width. Center the div.
  17. Here is an URL for testing the page loading times and sizes. They make an analysis based on several factors, file size, images and their sizes, etc.http://www.websiteoptimization.com/services/analyze/
  18. un-install what you have and download a self-installing package like xampp or wamp which includes all the stuff.
  19. Only thing I can think of is that table row background colours don't get fed to the print stream.Might want to check that out in the html Specs at the w3c. http://www.w3.org/TR/html4/struct/tables.html#edef-TABLE
  20. I used a wrapper div to set the width and to centre the page, 'floated the left nav div, and stuff.Have a look to see if that'll do for now. I didn't test the image. I inserted a couple of 's to show some size for the image, but try this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Welcome </title><style>body{ background-color:#dccfbf; margin:0 auto; text-align:center; width:750px; }#header{ border-left:1px solid black; border-right:1px solid black; border-bottom:1px solid black; padding:0; margin:0 auto; padding: 0; text-align:center } img { display:block; }#content{ border-left:1px solid black; border-right:1px solid black; border-bottom:1px solid black; text-align:left; background-color: white; margin:0 auto; /* top/bottom left/right */ padding: 0; /* all 4 */ text-align:center }#maincontent { margin: 0 0 0 180px; /* top right bottom left */ border: 1px solid #000000; }#menu{ width:175px; background-color:#A3CFFC; border:1px solid navy; float:left; }#menu ul{ list-style-type:none; margin:0; padding:5px; }</style></head><body><div id="wrap" ><div id="header"> <img src="../images/header.jpg"> </div><div id="content"><div id="menu"><ul><li>About Us</li><li>Directions</li><li>Upcoming Events</li></ul></div><div id="maincontent"> <h2>Welcome!</h2> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> <p> Content here.</p> </div></div></div></body></html>
  21. Have a look through the html/css forum here. Get a sample of the sort of layout you need and make the neccesary changes. Or, Csscreator.com has a layout generator. Have a look over there. I am certain they will be able to do that. You need to know which columns are fixed or flex, the approx heights of header and footer, and colours. I suggest that you use weird colours so you can figure out the css it creates and then revert them to what you need after figuring the layout changes you will make.And you will need to insert the nav bar yourself. Not a major issue.Good luck.
  22. Can we see some of the code, especially the css file which controls the printing. Often times the print css file will turn colours off. To save ink.And just to confirm that the printer is a colour printer? and the cartridges are good?
  23. Download the new update for ff2 at the firefox site. http://www.mozilla.com/en-US/firefox/2.0.0.2/releasenotes/A couple of minor Security fixes. Doesn't appear to me to be a problem with html or css. I've check a bunch of sites and didn't see any changes to its rendering.
  24. We aren't??? When did that start? And why didn't anyone tell me?
×
×
  • Create New...