|
| |
|
|
The_magus
Posts: 44 Joined: 9/1/2006 Status: offline
|
Web Expression - 5/22/2007 10:43:06
Good Afternoon: I have been using Web Expression for a few weeks at the same time as Front Page and I have noticed some of the code is hi-lited (hi-lit) in yellow. Am I correct in thinking that this correct is incorrect and should be removed??? I have also noticed that Web Expression seems to be adding seven thousand style tags to my pages which makes the pages weird when viewed in other browsers. It would not be too bad if it would make one style list and be done with it but I have been ending up with a dozen or more on each page - almost one per paragraph. Suppose the answer is that I should make my own css sheet for each page before Web Expression gets a chance to do so. I have looked at some of my back up pages and they look ok in all the browser but once I start working with them on Web Expression they are soon messed up. Is there any way to turn off this facility???? Cheers Jack The Magus
|
|
|
|
ou812
Posts: 1572 Joined: 1/5/2002 From: San Diego Status: offline
|
RE: Web Expression - 5/22/2007 11:35:35
quote:
ORIGINAL: The_magus I have been using Web Expression for a few weeks at the same time as Front Page and I have noticed some of the code is hi-lited (hi-lit) in yellow. Am I correct in thinking that this correct is incorrect and should be removed??? Expression highlights in yellow for me when I've done something wrong. For example, placing a closing tag without and opening one. If you mouse over, it usually tells you why it is highlighted. For the extra styles it's creating, I just use my own, and that way it doesn't create them for me. And, once you've created them, you can also select them with a drop down box from the menu. Nice for me, since I'm still plugging away with CSS
_____________________________
-brian EnterpriseDB: Enterprise-class relational database management system PostgreSQL: The world's most advanced open source database
|
|
|
|
The_magus
Posts: 44 Joined: 9/1/2006 Status: offline
|
RE: Web Expression - 5/22/2007 11:46:22
Good afternoon Tailslide: I have taken a bit at random from one of the pages and used a bold font to indicate the hi-liting - bold indicates yellow hi-lites. I appreciate that the code is probably crap but I don't have the time to learn coding (advancing years and too much work) but it works in the various browsers Design View: The Reforms – Many great revolutionary leaders have wavered or faded when the battle was won. Not so with Mustafa Kemal. He had no uncertainties as to what the new country’s direction would be. He introduced promised reforms and personally directed the state’s development with astonishing skill and foresight. The following in a cell beside an image The most important thing Mustafa Kemal gave to the Turkish people was a new, positive image of themselves; a feeling of pride which replaced the traditionally negative image of the Ottoman Turk as corrupt, sombre, backward and incompetent. Mustafa Kemal replaced the Ottoman Turk with a new, westernized, forward-looking figure, who could hold his head high anywhere in Europe. Without Mustafa Kemal, Turkey could not have become what it is today. In fact, it would probably have ceased to exist entirely. Code view </font><b><font face="Verdana"><br> <br> </font> <font size="2" color="#0000FF" face="Verdana"> The Reforms</font></b><font face="Verdana"> – </font> <font face="Verdana" size="2"> Many great revolutionary leaders have wavered or faded when the battle was won. Not so with Mustafa Kemal. He had no uncertainties as to what the new country’s direction would be. He introduced promised reforms and personally directed the state’s development with astonishing skill and foresight. </font></font><br> </font></font></font></td> </tr> <tr> <td width="189" height="61"> <b> <font face="Verdana" color="#0000FF" size="2"> <img src="../images/RiverBoat.jpg" alt="Fishing boat at Caunos" border=0 width="164" height="186"></font></td> <td width="406" height="61" class="style3"> <font face="Verdana" size="2"> The most important thing Mustafa Kemal gave to the Turkish people was a new, positive image of themselves; a feeling of pride which replaced the traditionally negative image of the Ottoman Turk as corrupt, sombre, backward and incompetent. Mustafa Kemal replaced the Ottoman Turk with a new, westernized, forward-looking figure, who could hold his head high anywhere in Europe. Without Mustafa Kemal, Turkey could not have become what it is today. In fact, it would probably have ceased to exist entirely. <br> </font></td> </tr> Cheers Jack The Magus
|
|
|
|
The_magus
Posts: 44 Joined: 9/1/2006 Status: offline
|
RE: Web Expression - 5/22/2007 11:54:49
Dear ou812: Your comment arrived while I was working on the one above respons to Tailslide. Thanks - I checked and you are correct that there is a box which has an explanation of sorts - not that I understand it but will give it a try. The pages look ok in the design view but guess the aim should be to have the code correct at the same time as I am sure that some place it will result in a mess so will try to pay more attention to the yellow hi-lites. Thanks for your interest. Cheers Jack The Magus
|
|
|
|
coreybryant
Posts: 2422 Joined: 3/17/2002 From: Castle Rock CO USA Status: offline
|
RE: Web Expression - 5/22/2007 16:24:11
If you are using the XHTML DOCTYPE, the <br> should be something more like <br /> and the image tag should be more link <img src="../images/RiverBoat.jpg" alt="Fishing boat at Caunos" border=0 width="164" height="186" /> XHTML (tags) should be closed. The font tag is deprecated and should not really be used (styles should be used)
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | My Blog | Expression Web Blog
|
|
|
|
The_magus
Posts: 44 Joined: 9/1/2006 Status: offline
|
RE: Web Expression - 5/23/2007 1:27:42
Dear CoreyBRyant: I discovered that the pop-out menus would work in IE 7 using the following doctype: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> However this seemed to throw the code out of whack and all the META tags and many other bits of code were hi-lited in Web Express code view. I googled doctype and discovered the following: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Changing the doctype to this one got rid of most of the hi-lited code. The pages seem to appear correctly in IE 7 and the pop out menus work. Would I be committing the crime of the century if I used the second doctype because my aim to produce pages that look okay to the view as I don't know enough to try to produce code perfect pages. Thanks for your interest. Cheers Jack The Magus
|
|
|
|
Tailslide
Posts: 6032 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: Web Expression - 5/23/2007 2:33:56
It's not a crime. It's like having a jar of jam and labelling it Strawberry when in fact it's Raspberry. The second DOCTYPE isn't throwing up errors because it's a much "looser" flavour of HTML - it allows much more latitude for errors and older style coding. The first DOCTYPE you were using is a stricter version which doesn't allow the same latitude which is why you were seeing errors. Does that make any sense? Really the point should be that you pick a DOCTYPE before you start coding and you code to that spec. You don't want to code the page and then try to find a DOCTYPE that throws up the least errors - if you see what I mean by the difference.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
The_magus
Posts: 44 Joined: 9/1/2006 Status: offline
|
RE: Web Expression - 5/23/2007 4:57:00
Dear Tailslide: I understand your comments completely but unfortunately I started attacking the bull from the other end in that I began 4 years ago with FP hardly even knowing what a web page was and then got DW and found somethings easier to do with that so jumped back and forth. Now EW has appeared on the scene and I am using it and FP hoping to learn to understand what it can do eventually while at the same time keeping my sites going - probably about 2000 pages between the three sites. Until very recently I did not even know about or notice the Doctype let alone code to the appropriate standand as I have never coded anything myself totally relying on WYSIWYG programs. Until recently I would have become annoyed if anyone said I couldn't do something because of my age but now I find myself using it as an excuse for not attacking somethings like learning to speak Turkish or learning to write code. Guess that is normal but hope it doesn't go further and end up as an excuse for not chasing women. Thanks for your advice and interest. Cheers Jack The Magus
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|