473,804 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Moving code from external stylesheet to internal

Hi
I have this entry in my stylesheet main1.css:

#head {
width: 310px;
height: 60px;
float: left;
display: block;
background-image: url(logo.jpg);
background-position: left top;
background-repeat: no-repeat;
}

I am trying to move it into the web page code for Search Engine
Optimisation purposes, thus:

<div id="head-logo" style="width:31 0px; height:115px; float:left;
background-position: left top; display:block;" ><img src="logo.jpg"
width="178" height="59" alt="Driving Instructor Insurance - Instructor
Cover"></div>

The logo in the revised version comes out an inch or so to the right
of its previous position. What am I doing wrong?

Stapes

Aug 6 '07
14 3152
Stapes wrote:
Well John,
we paid for a report from Neutralize: Independent Internet Marketing
Services,
Oh no... hope you didn't pay too much.
who say this:

The present top header should be seperated so that the logo can be
used as a home page link, this would enable the optimisation of the
page with added alt text; alt tag and link can then be applied.
"Seperated" ?

<http://www.neutralize. com/internet_market ing_services/search_engine_o ptimisation.htm >

Typical buzzword fluff:

"Our full service organic search engine optimisation (SEO) packages
ensure ROI through indexability and maximum visibility within
algorithmic search engines such as Google, MSN & Yahoo! Search."

<gag>

The only true SEO techniques I've run across are offers to rewrite a
site's code and content, using real (hopefully unique) keywords within
the visible content.
What exactly do you mean by 'morally invalid'? Is there anything
morally valid about car insurance?
It costs way too much?

--
-bts
-Motorcycles defy gravity; cars just suck
Aug 6 '07 #11
On 6 Aug, 17:18, "Beauregard T. Shagnasty"
<a.nony.m...@ex ample.invalidwr ote:
"Our full service organic search engine optimisation (SEO) packages
Organic? You mean, cheap interns?
"Organic Search Engine Optimisation is People!"

Aug 6 '07 #12
On 7 Aug, 09:33, Stapes <steve.sta...@g mail.comwrote:
Would you say the same regarding the top header here:http://www.hotel-victoria.co.uk/, which uses /Portals/0/Hotel/Flash/
Banner.swf in flash?
Flash is problematic for accessible content, pretty good for eye
candy.

The hotel site you cite is an interesting example. Usually Flash
headers like this are terrible: a hefty download to a trivial thing
that isn't worth it, and often ugly too. This one though is better
done than the usual and is an attractive and valuable addition to the
site.

It's still eye candy though. It's a scrolling wallpaper that no-one
can focus on, no-one can understand and it's just there to look good.
If it did have alt text, the text would be "Opulence. Now believe us".

It's not content. Nor is its _function_ to drive search engines. So
don't worry about in that sense. If you do need content (real content)
about the rooms shown on the banner, then write some content and some
proper <img>s to describe them, and treat that as accessible and
spiderable content.

Aug 7 '07 #13
On 2007-08-07, Stapes wrote:
Would you say the same regarding the top header here:
http://www.hotel-victoria.co.uk/, which uses /Portals/0/Hotel/Flash/
Banner.swf in flash?
The flash is the least of the problems on that page; it's just
distracting. See how the page looks in my browser:
<http://cfaj.freeshell. org/testing/hv.jpg>.

--
Chris F.A. Johnson <http://cfaj.freeshell. org>
=============== =============== =============== =============== =======
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Aug 7 '07 #14
Andy Dingley wrote:
On 7 Aug, 09:33, Stapes <steve.sta...@g mail.comwrote:
>Would you say the same regarding the top header here:http://www.hotel-victoria.co.uk/, which uses /Portals/0/Hotel/Flash/
Banner.swf in flash?

Flash is problematic for accessible content, pretty good for eye
candy.
And on dialup for more than a minute all I saw was a pretty white rectangle!

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Aug 8 '07 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
2397
by: Douglas Reith | last post by:
Hi There, Can someone please tell me why the XML spec states that an attribute value with an external entity is forbidden? Or point me to the appropriate document? Or better still, perhaps you know of a work around? It is a little frustrating that the normally powerful external entities are limited in this fashion. Example (myextent.txt contains just one word without a CR):
3
12823
by: allard poldermans | last post by:
How can I make a reference to an external CSS or JS file that is relative to the XSL stylesheet, and not relative to the XML data? If you simply put : <link rel="stylesheet" type="text/css" href="ui/demo.css" ></link> in your XSL file, this link will always be relative to the location where the XML file is. For example, suppose I have following XML data (test.xml):
1
6597
by: Razvan | last post by:
Hi What is the difference between an internal and an external entity ? The first one is defined in the internal subset (not in a separate DTD file, but in the XML file itself - in DOCTYPE) while the second one is defined in the external subset (in a separate DTD file) ? Or an
6
3425
by: Christopher Benson-Manica | last post by:
Just FMI, if an external stylesheet is linked to a page (with <link>), will subsequent <style> tags override the values in the external stylesheet? -- Christopher Benson-Manica | I *should* know what I'm talking about - if I ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
2
2256
by: Markus Ernst | last post by:
Hi I build a small content management system. I use different external stylesheets for the admin section and the frontend, called admin.css and frontend.css. Now I would like to preview some frontend stuff in the admin section. Is there a syntax for accessing a style from a different style sheet? For example:
12
3096
by: relaxedrob | last post by:
Hi All! I have a page with with the following style information: <link rel="stylesheet" type="text/css" href="/eEmployment/eTech.css" /> <style type="text/css"> DIV.Application { BACKGROUND-IMAGE:url(/someImage.jpg); }
3
6039
by: al.cpwn | last post by:
do static and inline functions or members have internal linkage? I have been reading this newsgroup on google and found conflicting ideas. Can someone please help me understand why in some places inline may have external linkage while in others it has internal (from what I have read in comments by people). Are there any (other) places where linkage is ambiguous?
14
3571
by: rabbitrun | last post by:
Hi Everyone, I work for a financial company. I am planning to give a presentation to rest of the development team (15 people) here on moving server side logic to client-side javascript for an internal intranet application rewrite. This approach will definitely stir up hot debate from hardcore server-side Java folks who wants to do UI stuff even on the server!. Since I am pretty much known as the JS or UI Guy of the group, my Boss...
10
2413
by: Stefan Weber | last post by:
Hi, I'm trying to access the JavaScript code contained in a <scripttag via its "text" attribute. This works well, if the code is embedded in the HTML page. However, when the code is in an external file with the "src" attribute, it does not work anymore. Does anybody have an idea if there is any way (be it clean and simple or as a workaround) to access the code of external scripts as well? I read, that if there is something like
0
10595
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9169
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5668
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.