Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by amiw

  1. amiw

    IE centering

    ok I've got you.
  2. amiw

    IE centering

    make a correction and it now works in IE and firefox. I Sorry made corrections - gave the container a height and rather than put a div around the image I used the img selector. An issue would be the width percentage... for instance if i set it to 22% then it might force the image down below, is...
  3. amiw

    IE centering

    fair point, this is the code that I came up with... it's look ok, is there anything obviously wrong with it? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>test</title> <style type="text/css"> #container { width...
  4. amiw

    IE centering

    If I used 3 div's should I not also put the image in a div and have a fourth div? should I put a percentage on the div's with the links going down horizontally should I use a list menu? how would the code look? thanks.
  5. amiw

    IE centering

    This is a layout that I am trying to create http://www.amiwired.com/layout/layout2.htm Not too sure about how to go about this. Should I use a container div and 2 div's within, one for the links and one for the image? Should I float the image or use it as a background for the div? How should...
  6. amiw

    IE centering

    I read "IE5/Win incorrectly applies the CSS "text-align" attribute to block-level elements. Declaring "text-align:center" for the containing block-level element (often the BODY element) horizontally centers the box in IE5/Win....Declaring "text-align:center" for the containing block-level...
  7. amiw

    Different output

    Why does the code below produce two different pages. IE seems to work fine and put a border around the div.container that houses the div.box's while Firefox just has a line across the top. You can see what I mean http://www.amiwired.com/layout/layout.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD...
  8. amiw

    div width

    ok that's correct, the reason I overlooked that was simply because the image was top left and there was no padding visible between the image and the border. I hadn't thought that the image would be the background for the padding as well. How about the other issue of the vertical-align: bottom;?
  9. amiw

    div width

    Couple of questions, why does the header div appear to be alot more than 640px? When I ran another test and included a 468x60 image there's alot of space in the div? Another question is why does the vertical-align not work? #header { width: 640px; height: 92px; margin: 0 auto...
  10. amiw

    Layout

    I'd appreciate any help on how to create a page layout using CSS that looked like this image http://www.amiwired.com/layout/layout.htm The div's should be about 35% each with a gap between. thanks.
  11. amiw

    cropping first paragraph

    ok thanks for the link what about the inserting issue and the string being truncated somewhat, any ideas why this might be happening?
  12. amiw

    cropping first paragraph

    I used the code tarea=Replace(Request.form("textarea"),vbCRLF,"<br />") sSQL="INSERT INTO table1(mbody) Values('" & tarea & "')" response.write sSQL Set Connection = Server.CreateObject("ADODB.Connection") sConnString="Driver={Microsoft Access Driver (*.mdb)};dbq=" & server.mappath("db1.mdb")...
  13. amiw

    cropping first paragraph

    thanks for that dotnetgnat, but one of the problems is trying to insert the line break into the database and why any text after the line break isnt inserted. any ideas?
  14. amiw

    cropping first paragraph

    I ran a test with a form and the code below, when I entered text into the form and clicked the enter button for a line break and then entered some more text, I noticed that only the first piece of text was entered into the database tarea=Replace(Request.form("textarea") sSQL="INSERT INTO...
  15. amiw

    cropping first paragraph

    Shatch, sorry I know how to do that, its not what I am looking for.

Part and Inventory Search

Back
Top