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.

Jeffsk

Members
  • Joined

  • Last visited

Everything posted by Jeffsk

  1. When you say trace the shapes manually I'm guessing you don't mean use paper & pencil? If not, could you clarify please? Thanks
  2. ok here's the link to my code: http://jsfiddle.net/#&togetherjs=soped78CiB I'm going to without internet access for a few days so I won't be able to check here, but any help & suggestions very welcome Ta
  3. Thanks for that. I got two free downloads with http://vectormagic.com/home, which definitely does a better job than the one I'd tried, so I chose pdf & eps, as svg hadn't worked before....unfortunately neither of those formats displayed on the webpage either. Could that be something to do with the browsers, rather than the file formats?
  4. I've been trying to convert a jpeg (page banner) to a vector format so it’ll be scalable without losing definition. The jpeg is a pre-existing banner that I’ve been asked to use so, if possible, I’d prefer not to have to recreate it from new. Can anyone recommend a good converter? I used www.autotracer.org/ & saved the result as an svg file but there’s quite a loss in quality I thought svg was supported by all the major browsers but it doesn’t display in FF, Ch, or IE.......has anyone got any ideas why? Thanks
  5. Cheers for that, I 'll be having a look very soon.
  6. A friend bought me a subscription to Learnable when it was on special offer a few months ago - I've looked at a couple of their courses....ok, but I wasn't wildly impressed. Has anyone else used their courses & if so what did you think?
  7. ok, contradictory points of view there, unless you're both talking about something slightly different. I know that I can make up classes & ids & i thought I could do the same for elements (is that the same as a type selector?)...now I'm just confused again! ;-) Anyway I made up/created a class that has all the styling I need for the captions in one neat little package .caption { color: #08076D; font-family: Arial, Helvetica, sans-serif; font-size: 11pt; text-align: center; } & with this html & it worked! <p class="caption">blah blah</p> ok, so the whole exercise of creating the page with divs, instead of in a table, has been a good learning exercise....thanks for the help guys! I've just got to work out the anchors now :-)
  8. I thought it was possible to create any 'type selector' I wanted. I was using <p> & <p2> to style text in two slightly different ways, like I would with <h1> & <h2>. Are you saying that i can only use certain pre-existing ones, such as p, h1, h2, etc? p { color: #08076D; font-family: Arial, Helvetica, sans-serif; font-size: 15pt; text-align:left; padding: 0px 5px 0px 5px; } p2 { color: #08076D; font-family: Arial, Helvetica, sans-serif; font-size:11pt; text-align:center; } So if I use your suggestion of <p class="center-text">Clipping Mask</p> .center-text { text-align: center; } then how do I differentiate between the different stylings I want to apply to different bits of text? What I've done, which has enabled me to get rid of the <center> tags is this p { color: #08076D; font-family: Arial, Helvetica, sans-serif; font-size: 15pt; text-align:left; padding: 0px 5px 0px 5px; } h1 { color: #08076D; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; text-align:center; } & this <h1>Clipping Mask</h1> Thanks for your help
  9. ignore this post, i just realised I'd posted before it was completed
  10. I've now only got the one id <div class="block"><a href="images/vanishing_point_box.jpg" name="vanishing_point"><img src="images/t_vanishing_point_box.jpg" alt="a plain red box with a lid" title="a plain red box with a lid"></a><p2><center>A plain red box with a lid</center></p></div> & it still doesn't work. What I want to get is that the different menu (which is on every page) itemslink to the related captions below the images on the photoshop example page. So, I'dexpect that I'd need to put the id="vanishing_pont" or name="vanishing_point" in the <p2> tag, but that doesn't seem to work either. I've also tried <p2><center><a name="vanishing_point">A plain red box with a lid</a></center></p></div> .........nope, still doesn't work. I'm sure when I do figure it out, or someone shows me, it'll be pretty simple & I'll wonder why I couldn't see it before but until then......... <p2> is a type selector, same as <p> or <h1>, <h2>, etc....I think you can use anything as a type selector. I'm using it to style text in two slightly different ways. Here's the relevant bit of CSS p { color: #08076D; font-family: Arial, Helvetica, sans-serif; font-size: 15pt; text-align:left; padding: 0px 5px 0px 5px; } p2 { color: #08076D; font-family: Arial, Helvetica, sans-serif; font-size:11pt; text-align:center; }
  11. neither of those seem to work. I'm assuming that because you didn't say anyhting about my coding of the <li> item that part looks ok to you........?
  12. you're forgiven! ;-) BTW, my tutor was keen on us using tables in some cases - I had an 'arguament' with him about it in class one evening when I said, as tacfully as I could, that I thought divs were meant to be used rather than tables in current web design. I actually originally laid out the images with a table & it was fine, but I decided after handing in my portfolio that I wanted to redo it in a more update way To be fair the process of designing, piloting, & tweaking a course can take so long that it can be outdated by the time it actually gets delivered to students.
  13. <!DOCTYPE html>.....HTML 5 Thanks for the suggestion re the anchors, I'll give it a try now
  14. ok, here's the url for the jsfiddle i've just created: https://jsfiddle.net/jeffsk/byc2omhv/1/ the individual divs for each img are displayed evenly when the images are actualy there Thanks
  15. will do in a while....thanks! :-)
  16. Me neither, but I can't seem to get it to work. I've tried various things, including.... removing the <center> tags & the text-align:left; from the .container class in the CSS, in case that was overiding the text-align in the p2 type selector, but the text sort of wraps round the images - see screenshot 1 I then tried moving the captions outside of the individual image divs - they didn't wrap any more, but they sat to the left (see screenshot 2) even though they're within the <p2> tags p2 { color: #08076D; font-family: Arial, Helvetica, sans-serif; font-size:11pt; text-align:center; } The .block class also has text-align:center; which should (i thought) center align everything that's inside <div class="block"></div> I really don't know what else to try, so any help would be good (ditto with the anchors issue). Thanks screenshot 1 screenshot 2 screenshot 3 - how I want the captions to be laid out (done here with <center></center>)
  17. Yes, I didn't think it was anything other than me getting something wrong, but I can't see what.....that's why I asked here. BTW, I did pick up on your sarcasm in your last "Did your college teach you the <center> tag?" message....maybe you've been doing web development so long that you've forgotten how confusing it can be for a newcomer?
  18. No, I didn't learn that in college. When I couldn't get the text-align:center; CSS to work I went online looking for other solutions & found that. I didn't realise it was deprecated.....does it actually cause problems, or is it just that there're better ways to acheive the same effect? I know, the college course really wasn't that good, if I'd known that beforhand I wouldn't have done it, but having signed up for it & paid my non-refundable fee I stuck with it & I did get a few useful things. Just for clarity, I using college in the English (not American) sense i.e. a further ed college, NOT university
  19. I've just seen why some of the captions were links.......I'd missed some closing tags after the alt & title text........sometimes you can spend so long looking closely at something that you miss what's right in front of your eyes!! So, now I've just got the questions of (1) why's the text-align:center; not working & (2) why the anchors aren't working e.g. I've put this in the menu's code <li><a href="photoshop.html#vanishing_point">Vanishing Point</a></li> & this in the target code <div class="block"><a href="images/vanishing_point_box.jpg" id="vanishing_point">xxxxxxxxxxxxx</a> I think that's the right place for it, but as it's not working (it just takes me to the top of the page, not to the specific caption) maybe not
  20. I haven't done much coding at all...I'm pretty much a beginner, figuring stuff out largely by trial & error I did set up text-align:center; in the CSS but then used the center tags because without them the text goes all over the place e.g. if I put the captions within the individual divs (see the html below) but without the center tags they wrap themselves round the sides of the images, "pushing" them to one side; if I put the caption below the image's div then it left aligns & messes up the footer. So, I gave in & used center tags - not ideal, but at least things are laid out as I want All page heights are set to auto, so they should adapt to the content of the individual page. Here's my stylesheet body { color: #08076D; font-family: Arial, Helvetica, sans-serif; background-image: url("../images/code.jpg"); background-repeat:no-repeat; } p { color: #08076D; font-family: Arial, Helvetica, sans-serif; font-size: 15pt; padding: 0px 5px 0px 5px; } p2 { color: #08076D; font-family: Arial, Helvetica, sans-serif; font-size:11pt; text-align:center; } .block { margin: 15px; padding: 5px; border: 4px; border-style:ridge; border-color:#855689; text-align:center; background-color:#F1E6F0; } #imgs { height: auto; width: 70%; margin:auto; } #l{ width: 50%; height:auto; float: left; margin-bottom: 10px; margin-top: 10px } #r{ width: 50%; height:auto; float: right; margin-bottom: 10px; margin-top: 10px } .container { width: 960px; margin: 0 auto; height:auto; /* min-height: 750px;*/ text-align: left; background: #F5F5F5; color: #08076D; -webkit-box-shadow: 7px 7px 15px 0px rgba(50, 50, 50, 0.75); -moz-box-shadow: 7px 7px 15px 0px rgba(50, 50, 50, 0.75); box-shadow: 7px 7px 15px 0px rgba(50, 50, 50, 0.75); } .header { width: 960px; height: 200px; background-image: url("../images/banner.jpg"); } .navigation { width: 960px; background-color: #D2AACD; height: 36px; text-align: center; } .mainContent { width: 960px; min-height: 594px; font-family: Arial, Helvetica, sans-serif; padding-bottom:15px; } .flashBanner { width: 700px; min-height: 116px; margin: 10px 130px 5px 130px; } .imgs { width: 960px; min-height: 594px; margin: 0px 192px 0px 192px; width: 60%; } } .textContent { width: 954px; } a:link { color: #E5B81B; text-decoration: none; font-weight: normal; } a:visited { color: #000; text-decoration: none; font-weight: normal; } a:hover { color: #7B7EB1; text-decoration: underline; font-weight: normal; } .MainFooter { width: 100%; font-size: 14pt; } .MainFooter-col { display: inline-block; width: 33.3%; margin-right: -0.5em; color: #E5B81B; height: 30px; font-size: 16pt; background: #313685; a:link; a:visited; a:hover; } .u-alignLeft { text-align: left; padding-left: 6px; } .u-alignCenter { text-align: center; } .u-alignRight { text-align: right; padding-right: 6px; } & here's the relevant HTML <div id="imgs"> <div id="l"> <div class="block"><a href="images/clipping_mask_blue_on_purple.jpg"><img src="images/t_clipping_mask_blue_on_purple.jpg" alt="a clipping mask with blue text on a purple background" title="a clipping mask with blue text on a purple background"></a><p2><center>Clipping Mask</center></p></div> <div class="block"><a href="images/content_aware_fill_before.jpg"><img src="images/t_content_aware_fill_before.jpg" alt="a man standing in front of a wall" title="a man standing in front of a wall"</a><p2><center>A man standing in front of a wall</center></p></div> <div class="block"><a href="images/jacket_original.jpg"><img src="images/t_jacket_original.jpg" alt="a woman wearing a grey jacket" title="a woman wearing a grey jacket"</a><p2><center>A woman wearing a grey jacket</center></p></div> <div class="block"><a href="images/no_shadow.jpg"><img src="images/t_no_shadow.jpg" alt="a figure without a shadow" title="a figure without a shadow"></a><p2><center>A figure without a shadow</center></p></div> <div class="block"><a href="images/spot_healing_before.jpg"><img src="images/t_spot_healing_before.jpg" alt="a man with a very spotty face" title="a man with a very spotty face"</a><p2><center>A man with a very spotty face</center></p></div> <div class="block"><a href="images/vanishing_point_box.jpg" id="vanishing_point"><img src="images/t_vanishing_point_box.jpg" alt="a plain red box with a lid" title="a plain red box with a lid"></a><p2 id="vanishing_point"><center>A plain red box with a lid</center></p></div> </div> <div id="r"> <div class="block"><a href="images/clipping_mask_purple_on_blue.jpg"><img src="images/t_clipping_mask_purple_on_blue.jpg" alt="a clipping mask with purple text on a blue background" title="a clipping mask with purple text on a blue background"</a><p2><center>Another Clipping Mask</center></p></div> <div class="block"><a href="images/content_aware_fill_after.jpg"><img src="images/t_content_aware_fill_after.jpg" alt="man removed from the image using Content Aware Fill" title="man removed from the image using Content Aware Fill"</a><p2><center>Man removed from the image</center></p></div> <div class="block"><a href="images/jacket_colorised_&_patterned.jpg"><img src="images/t_jacket_colorised_&_patterned.jpg" alt="the woman's jacket recoloured & patterned in Photoshop" title="the woman's jacket recoloured & patterned in Photoshop"</a><p2><center>Jacket recoloured & patterned</center></p></div> <div class="block"><a href="images/with_shadow.jpg"><img src="images/t_with_shadow.jpg" alt="a shadow added to the figure by duplicating a layer, using the Select Pixels, Transform > Distort, & Gaussian Blur tools in Photoshop" title="a shadow added to the figure by duplicating a layer, using the Select Pixels, Transform > Distort, & Gaussian Blur tools in Photoshop"></a><p2><center>The figure with a shadow added</center></p></div> <div class="block"><a href="images/spot_healing_after.jpg"><img src="images/t_spot_healing_after.jpg" alt="spots removed from the man's face with the Photoshop Spot Healing tool" title="spots removed from the man's face with the Photoshop Spot Healing tool"></a><p2><center>Spots removed</center></p></div> <div class="block"><a href="images/vanishing_point_cat.jpg"><img src="images/t_vanishing_point_cat.jpg" alt="the red box with a poster of a cat on the lid & text wrapped around two sides using Photoshop's Vanishing Point technique" title="the red box with a poster of a cat on the lid & text wrapped around two sides using Photoshop's Vanishing Point technique"</a><p2><center>Vanishing Point technique applied</center></p></div> </div> </div> This is part of my portfolio for a web design course I've been doing at a local college. Although I already submitted it I'm now trying to improve it, as a learning exercise. A lot of the work was done in Dreamweaver (already had the discussion re DW in this forum!) which I hope never to use again, but I want to finish what I'd started. I've still got some of the captions being links (not wanted) e.g. the two bits of html that are in red are almost identical, but the second one is an active link & I can't see why. any help very much appreciated!
  21. I tried that (or something very much like it) & it didn't work. I only tried linking to <img src....> when nothing else would work. I knew it would take me to the jpg in the images folder, rather than the thumbnail on the images page. The page has too many thumbnails to view without scrolling so I want the menu to link to the individual thumbs. If I link to the containing div then I'll still have to scroll. So, I decided to give each thumbnail a caption e.g. <p2><center>Vanishing Point</center></p> & then anchor to that but there's a weird side effect occuring: Some, though not all, of the captions have mysteriously become links to the jpgs in the images folder - how can this be? They're all coded the same, as in the example above; they're not between <a href="....> & </a> tags. I can't see any pattern to this so all I can say is......WTF?!? Also, I've changed the caption I want to link to to <p2 id="vanishing_point"><center>Vanishing Point</center></p></div> & changed the menu item I want to link from to <li><a href="photoshop.html#vanishing_point">Vanishing Point</a></li> but it still doesn't work! The link just goes to the top of the photoshop examples page, instead of to the caption it's supposed to link to. I think I'll go & stick my head in a bucket of icy water for a while & see if this magically sorts itself out while I'm gone! ..............or maybe some cleverer than me person here will be able to say "ahh, this is what you need to do, Jeff"
  22. I've got a site with a menu linking to other pages within the site & some menu categories are drop-down i.e. they have a sub menu (i'm not sure of the correct terminology here). a couple of the pages contain collections of images & I want the sub menu items to link to specific images, instead of just to the top of the page. I've put this code in the menu <li><a href="photoshop.html/#vanishing_point">Vanishing Point</a></li> & tried id="vanishing_point" in various parts of the html for the image - in the opening <div class=".....> tag, in the <a href="......> (the images are theumbnails linking to full size versions), & in the <img src=".....> but nothing seems to work where am I going wrong? TIA
  23. It'd be great to get a job as a junior at some sort of creative agency....I hate to sound negative, but whether anyone'd be interested in taking on a 57yr old newbie (i.e. old fart) like me as a junior is another matter! ;-) I'm expecting to need to pick up whatever little bits I can, such as building simple sites for the local plumber etc, & as I gradually hone my skills then get more interesting work. Saying that if anyone here would like to give me a job.......?
  24. You're right, those are pretty compelling reasons why flash should be replaced. Would i really want to work for a company like that? No, not if they were a web design/development company (it'd seriously worry me that they were so out of date), but as part of an in-house web team at a non web design/development company I might consider it temporarily, as a starting point. Also, from what I hear this is a very competitive field to earn a living in, so being able to do bits of work for people who have very outdated sites but for whatever reason couldn't be persuaded to have a whole new site built, might still be better than stacking shelves in a supermarket.
  25. I’m disappointed to hear that image maps are no good – I accept the reasons why, but think it’s a pity, or am I the only one that thinks that the concept is a good one & would be good if there was a way of using them without the accessibility problems etc?

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.