Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Tim Smith

Members
  • Joined

  • Last visited

  1. Whoops - yup - you're right!
  2. Thanks jheg - what you say makes sense - just wondering what the implications are of having a "stop" word in my title tag. Going by your example, for my usage it should technically be "and".
  3. Hi, Been getting up to speed on SEO best practices etc. I notice that the word 'and' is classed as a "stop word". Would it be better to use and ampersand (&) or is 'and' okay in title tags? Do search engines realise that the ampersand and 'and' are in fact the same thing? Just curious.... Thanks in advance!
  4. Just out of curiosity - why would you need a separate stylesheet for Safari. As far as I know, it's a pretty good browser with good W3C compliance.
  5. This might be a long shot and I haven't tried it but can you change the <div> to a <span> and set it's display to block in css - then you will be able to wrap the span in an anchor.
  6. Try putting a div called "caption" and alter the innerHTML: <a href="javascript:changeImage('../Images/wedding-photo-01-bride-getting-ready.JPG')"> <img class="thumbbox" id="mainimage" src="../Images/wedding-photo-01-bride-get-thumb.JPG" alt="wellis photography logo" title="bride getting ready"> </a> <div id="caption"></div> and amend your function to this: function changeImage(filename) { document.mainimage.src = filename; document.getElementById('caption') = "something here"; } You'd probably want to look into tying up the image filename with the caption. Use an array perhaps? let me know if you need more help.
  7. Hi - what browser are you using? I've checked with Chrome and Firefoxand it seems okay to me. Is it an IE issue?
  8. Tim Smith replied to Tim Smith's topic in Frontend
    Cool - thought that might be the case. I'm using a JSF/JSP/Facelets kind of set up so am gonna transform into XHTML with some other JSF kinda stuff in there too. (I keep falling in and out of love with JSF!) Thank you once again!
  9. Tim Smith replied to Tim Smith's topic in Frontend
    Just another question to pick your brains while you're about. When I look at the source of the document, I get the XML. I understand that since the browser is just using the XSL to format it and I can control how it is formatted (via xsl:output) but is there a way of ensuring that the source is "permanently changed" into XHTML? I'm probably asking a dumb question since I am actually not supplying XHTML. Just thinking aloud!
  10. Tim Smith replied to Tim Smith's topic in Frontend
    Great! Thank you - I think this has done it! I am kinda testing out this doc (and finally getting round to properly learning XML) and gonna use Java to parse it fully into XHTML (I hope!) for output. Many Thanks again - especially for the quick response!
  11. Tim Smith posted a topic in Frontend
    Hello, I have created an XML document which has an element called <content> which contains XHTML. Whn I view the output in Firefox, the XHTML tags are not being rendered. The text is, but not the XHTML. I have used XSL to format the document and I can't put the XML there since the XHTML could change. So for example in the XSL I have: <div id="header"> <xsl:value-of select="site/header/content"/> </div> and the XML has: <content> <h2>News And Events</h2> <p>Some of our latest news here...</p> </content> Now I kinda understand this since my xml document hasn't defined anything for any xhtml elements. I don't want to since I want the browser to just render these as normal. I have tried a few things in my xsl like: <xsl:output method="xml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" encoding="iso-8859-1"/> and using: <xsl:value-of select="content" disable-output-escaping="yes"/> but I either get the tags rendered as entities (i.e. < etc) or no tags at all? Has anybody had any experience of doing something similar? Not sure if I have provided all the info here so please let me know. Thanks in advance, Tim
  12. If you are in IE and the stylesheet you conditionally include is relevant to your Browser version then yes. Other IE versions? Not sure - I doubt it though. FF and other browsers should just read these as comments and so will not download these additional sheet
  13. Just to point out that if you want to use a span to make some text bold, think about using <b> or <strong> first and create a class to further style it. Some search engines use words flagged as bold or strong when they index your site.
  14. The actually problem was that you terminated the comment incorrectly in the first instance... <!--[if !IE 6]> --> <link rel='stylesheet' href='portfolio.css' type='text/css' /> <![endif]--> should be... <!--[if !IE 6]> <link rel='stylesheet' href='portfolio.css' type='text/css' /> <![endif]--> in which case you won't need your solution of <!--[if ! IE 6]><!--> <link rel='stylesheet' href='portfolio.css' type='text/css' /> <!--<![endif]--> since you have just declared an empty comment. It fixes it yes - but kind of for all the wrong reasons!
  15. You can use conditional comments for IE. They will be used by IE but since they are comments, they won't be read by other browsers... <!--[if IE 6]> <link rel="stylesheet"....etc <![endif]--> You can use do the same for IE 7 and 5 if you wish if you seem to be having the same probs. See how you get on with the redesign and then try "tweaking" the CSS you have written with amendments in a second CSS file. Note that you don;t have to use the entire sheet; if you place the conditional comments AFTER the main css LINK then all you have to do is specify the elements you want to change. Hope that makes sense!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.