www.webdeveloper.com

Search:

Type: Posts; User: emtw

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    646

    I'd also suggest using Aptana as an editor - it...

    I'd also suggest using Aptana as an editor - it does helpful things like add </p> after you type <p> for example - so it leads to making less typos. It also makes suggestions for what you might be...
  2. Replies
    2
    Views
    1,211

    Low res images using FTP (e.g. FireFTP)

    Hi,

    I'm designing a website for a photographer I know - it looks just how I want when I load the page from my computer, and the graphics look fine. However, when I load the pages to the web (using...
  3. Replies
    2
    Views
    614

    Could you look at the code for the accordion and...

    Could you look at the code for the accordion and see what happens on the mouseover event when you hover over the second image? You could then use this code to write what you want the standard...
  4. Replies
    4
    Views
    790

    Have you tried http://www.fontsquirrel.com/? They...

    Have you tried http://www.fontsquirrel.com/? They have fonts that are free to use, even for commercial uses. They even come with all the files to make it cross-browser compatible.

    Which software...
  5. Replies
    1
    Views
    685

    Are you sure that the combined widths don't...

    Are you sure that the combined widths don't exceed the screen width? Include any padding & margins as well.

    Try floating the first div to the left and the second div to the right?
  6. Replies
    4
    Views
    790

    No, you have to use @font-face - why would you...

    No, you have to use @font-face - why would you need to avoid using it?
  7. Replies
    1
    Views
    611

    This would be accomplished using javascript - you...

    This would be accomplished using javascript - you can use JS to change parts of a stylesheet and you can also change the html of an element.
  8. Replies
    4
    Views
    1,666

    Or, if you want to account for JS being turned...

    Or, if you want to account for JS being turned off, use something like this:



    * html div#division {
    height: expression( this.scrollHeight > 49 ? "50px" : "auto" ); /* sets max-height for...
  9. Replies
    4
    Views
    1,666

    IE is very good at ignoring styling that all...

    IE is very good at ignoring styling that all other browers accept!!

    You could use this, although this won't work if the user's brower has JavaScript turned off (thankfully not common):



    div...
  10. Thread: CSS Media Styles

    by emtw
    Replies
    1
    Views
    580

    CSS Media Styles

    e.g. when you have:

    handheld.css media ="handheld" - this would apply a different stylesheet on mobile devices.

    What would happen e.g. with an iPad (and other tablets)? Would this count as a...
  11. Or, you could specify ids and classes like this,...

    Or, you could specify ids and classes like this, for more individual styling:


    <div id="any name">
    <p id="color1" class="row1">content goes here</p>
    <p id="color2" class="row2">content...
  12. You could try having the same div name and...

    You could try having the same div name and applying an id to a paragraph within it - that website looks like a series of divs or a tabular format.
    So you could have:


    <div id="anyname">
    <p...
  13. Replies
    11
    Views
    1,740

    Thanks so much for your help!! It's working great...

    Thanks so much for your help!! It's working great now, thanks :0)

    - although - this line somehow found its way in there:
    var imageSrc = "auto2moto.png";

    but once that was removed it worked...
  14. Replies
    11
    Views
    1,740

    That code does get a random image to appear where...

    That code does get a random image to appear where I want it to - but I need the image to refresh every 4 seconds or so and I don't know how to get the whole function to cycle after this time frame....
  15. Replies
    11
    Views
    1,740

    Thanks so much - sorry I'm fairly new at all of...

    Thanks so much - sorry I'm fairly new at all of this so I don't know how to do all of that!

    Got this now - but problem is that now nothing displays in the div at all - if I remove the bannerGen...
  16. Replies
    11
    Views
    1,740

    Hi, Thanks for that - sorry about tabs, think...

    Hi,

    Thanks for that - sorry about tabs, think it copied and pasted funny from my editor.

    I have tried using that code, and it appears to be pulling something into the div - however, all that...
  17. Replies
    11
    Views
    1,740

    I've been playing around with this a bit, and...

    I've been playing around with this a bit, and have tried using arrays - now I can get something to appear in the div, but it looks like this:
    �V��$��F��Ⱦ36�H�W���/+�N�FC�C b8͔��@�5^��
    etc......
  18. Using the var foo = new bar() is to set up the...

    Using the var foo = new bar() is to set up the variable in the first place, and only has to be done once. Then, using foo is to reference the variable for use later in the code.

    Saying new bar()...
  19. Replies
    11
    Views
    1,740

    Sorry - the code is: ...

    Sorry - the code is:

    <script>

    $(document).ready(function generatePic(){

    function randomPicture() {

    var min=101;
    var max=120;
  20. Replies
    11
    Views
    1,740

    Getting a random picture to display

    Hi, I'm trying to get it so that a random picture displays from a gallery file one at a time. I'm probably making a basic syntax error somewhere as I'm fairly new to JavaScript/jQuery, but please can...
Results 1 to 20 of 20
HTML5 Development Center



Recent Articles