/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Issue aligning text in a box, please help (Im sure this is quick fix)

Hello,

So we are getting ready to launch this site, and there are a few little CSS quirks I am trying to fix.

Take a look at this link:

[URL=”http://gem-tech.com.mytempweb.com/store/pc/viewCategories.asp?pageStyle=h&idCategory=11″]http://gem-tech.com.mytempweb.com/store/pc/viewCategories.asp?pageStyle=h&idCategory=11
[/URL]

Notice how in the title box (<h1>) that the text on the left side is in the upper-left corner, and not centered in the box light it should be.

The text size used to be 22px, so it fit just fine. But we made the text smaller but now it won’t seem to vertically center.

Here is a screenshot for reference:

[img]http://gem-tech.com.mytempweb.com/example.jpg[/img]

Here is the code:

[quote]

<h1 style=”height:27px”><div style=”width:600px;float:left;position:absolute:center:;”><&#37;=pCategoryName%></div><div style=”width:100px; float:right; position:relative; top:3px; right:0px; “>
<input type=”button” class=”submit2″ style=”margin:0;” value=”find a dealer” onClick=”window.location=’viewContent.asp?idpage=4′”>

[/quote]

Thank you very much

to post a comment
CSS

7 Comments(s)

Copy linkTweet thisAlerts:
@tirnaJul 01.2010 — Normally I don't click posted links, but curiosity got the better of me when I saw yours.

When I clicked your top link I got a [B]Trend Micro Warning (see attached screen dump)[/B] saying it has blocked your website because it is potentially [B]dangerous.[/B]

Now I'm not saying there is anything malicious in your link, but there is definitely something that TM doesn't like.

Are you sure your web site is legit?

[upl-file uuid=4f85b171-9b7d-4ea9-9d65-351d0de3f8bb size=40kB]tm_warning.jpg[/upl-file]
Copy linkTweet thisAlerts:
@BlackReefDesignauthorJul 01.2010 — That could possibly be because there is no SSL certificate installed yet.
Copy linkTweet thisAlerts:
@tirnaJul 01.2010 — hmmmm ? that doesn't quite sound right to me - but I'm not an expert on ssl.

What is still keeping my alarm bells ringing to some extent is that you haven't actually said there is no malicious code/software in that link.

I think I'll just play it safe and leave your site alone.

good luck ?
Copy linkTweet thisAlerts:
@BlackReefDesignauthorJul 02.2010 — lol, there isn't any malicious software there. Im just a web developer.

Anyways, can the moderators please delete this thread? For some reason I am not able to edit the post
Copy linkTweet thisAlerts:
@tirnaJul 02.2010 — lol, there isn't any malicious software there. Im just a web developer.
[/quote]


But I'm a web developer and I can insert maliious code into a web page if I wanted to and I'm sure many other web developers could as well.

I might send an email to Trend Micro to see if they can shed anymore light on why your link comes up as a potentially dangerous website.
Copy linkTweet thisAlerts:
@BlackReefDesignauthorJul 02.2010 — But I'm a web developer and I can insert maliious code into a web page if I wanted to and I'm sure many other web developers could as well.

I might send an email to Trend Micro to see if they can shed anymore light on why your link comes up as a potentially dangerous website.[/QUOTE]


lol. go right ahead.

Im just trying to get this CSS issue fixed
Copy linkTweet thisAlerts:
@tirnaJul 02.2010 — it'll be interesting for me to see what they say.

Like it says in the warning I attached - maybe something happened in the past to make TM blacklist your website.

I suppose if my TM Internet security sees your website as potentially dangerous I suppose anyone else with TM visiting your site will get the same message.
×

Success!

Help @BlackReefDesign spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...