Jump to content

utopia

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by utopia

  1. why not just use a server langauge such as ASP ... real easy! and no xml convertion required, however, converting it into XML is possible with ASP as well .... or write a vb program that does the job for u :)

    Border

    there are multiple ways to do it, here i give the easiest way to do it... css:body {border: 1px solid #000;border-right: 5px solid #000;margin: 0;padding: 0;}c'est tout

  2. that's a pretty long post for something relatively simple (at least if i understand you right)just work with it liksedefault?q=1&w=2&r=3a = request.querystring("q")b = request.querystring("w")c = request.querystring("r")and then u work off the routine with a select case or if series ... enjoy

  3. not like that but you can do it differentlydiv.parent {parent properties}div.parent div.child1 {child properties in addition to the previously set parent properties}but if you were going for an object oriented idea ... forget it ... not yet :) use XSLT there u can do such thins

  4. <body><div id="page"> <div id="header"> <!--TITLE IMAGE--> </div> <div id="navigation"> <!--LINKS--> </div> <div id="main"> <!--MAIN BODY CONTENT--> </div> </div></body>I am just about to consider your html and will leave the css for what it is, as i like to start from scatch.div#header {float: left;width: 100%;height: 50px;background-color: #f1f1f1;color: #000;}div#navigation {float: left;width: 25%;background-color: #404040;color: #000;}div#main {float: right;width: 75%;background-color: #808080;color: #fff;padding-right: 20px;}happy learning ...

  5. The problem is not with the browsers, they actually understand it well but the problem is that if you use an img element you should use the required attributes width and height as well - at least if you want your code to be valid.So, in my opinion, you should always use height and width, and the CSS will override the settings if necessary :) but please don't make the mistake of soo many to deliver invalid code!

  6. I know what u mean mate, there is however a solution but it is petty complicated.You need to make three images, or perhaps five that really depends on your shadow effects. I introduce the former because that makes it a bit easier to comprehend.What you need to do is create a div that is placed under the div u want the shadow to apply on, within the new div u create three other divs, now here it gets tricky and u need to make sure u understand the concept.First you need one for the right, one for the right-bottom corner and one for the bottom. The images should be placed as background images with settings such as repeat and and top left placement. The div should have no specific height as it holds the other div(s) that will influence it, however, it should be a floatable div!If you apply it like this you will have a nice shadow, and if you really need the code let me know .. for a christmas present i might do a lot :)happy learning

  7. border="0" cellpadding="0" cellspacing="0"

    what's the CSS equivalent for these html atributes?I've been using

    border-collapse:collapse; border-spacing:0; padding:0

    but it doesn't create the same effect? Does adding

    padding:0

    for every td solve the issue?

    For the border you can use >> border: 0px;There is no CSS CELLPADDING property or attribute, however, the CSS padding property can do the same thing and more, see w3schools.com/csscellspacing can be used in combination with the above, note the latter two attributes add little meaning to tables.So the code should become something liketable {border: 0px;padding: 0px; /*really optional*/margin: 0px; /*really optional*/}happy learning
×
×
  • Create New...