Jump to content

divinedesigns1

Members
  • Posts

    1,200
  • Joined

  • Last visited

Everything posted by divinedesigns1

  1. yeah, the a tag is what im using as my button, and yeah im trying to have all those values which each a tag have to be in 1 tag which gives out either different values or just 1 value per click
  2. Ok, the code below is consist of 5 links (links are dynamically generated), which holds the values of 1, 2, 3, 4, 5 once click it gives out a value which is then divided by 2. i would like to turn this click into one link which either holds a random value which max is 5 or just a single value which would be one but imma keep that division by 2. (i think i figure it out, not sure tho) $getit = mysqli_query($con, "SELECT * FROM rate") or die('Error: ' . mysqli_error($con)); if($getit){ while($row = mysqli_fetch_assoc($getit)){ echo '<p>'; echo '<img style="width:300px; height:200px;" src="uploads/' . $row['id'] . '.' . $row['ext'] . '">'; echo '<p>'; for($x = 1; $x <= 5; $x++){ echo '<a href="rate.php?id=' . $row['id'] . '&rate=' . $x . '">' . $x . '</a>' . ' '; } echo 'Rate: ' . $row['total']; echo '</p>'; echo '</p>'; } }
  3. does anyone know the correct @media query usages, i was trying to use max-width so it can have the different screens for the devices, buttt it was messing with the other query, should i use min-width instead? next, do anyone know the screen sides for devices? or a link to them? been looking but didnt get much luck
  4. oh, well now i know, i normally add the comma for it to work
  5. try this #header { background: #1F1F1F, url('../images/logo.png') no-repeat left top;} you needed the comma between the color and the image
  6. it was actually an internet explorer issue, with the code, which i used the @media to fix the problem within IE10 and up, since no one responsed the whole day, i went and search to get a solution to this issue, it is just for IE10 and up so why using @media query like i stated about i went on to fix the problem, ooo and the problem was with the misalignment of the navigation bar, which was shown in the picture attachmented to the very first post anyway this is the code i used @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10+ CSS styles go here */} and within this code is where i place the correction for IE10 and up
  7. hey, how can i fixed errors in IE browser? in all other browsers my page is displaying how it should besides for IE, how do i go about fixing the errors? for absolute and relative positioning? ***** UPDATE ****** problem solved
  8. ok, im trying to make a responsive menu but my background for the div keep on disappearing after i place the code in the li tag display:block;float:left; can anyone tell me what im doing wrong here? code is as follow html, body { min-width:100%; height:100%; padding:0px; margin:0px;}.menu { width:80%; height:auto; background-color:rgba(0,153,204,0.5); margin:0px auto; text-align:center; font-family:Verdana, Geneva, sans-serif; font-size:100%;}.menu > ul { margin:0px; padding:0px; list-style:none;}.menu > ul li { width:10%; height:50px; background:#666; display:block; float:left;}
  9. hey i got a project i need to complete for one of my classes, i need to add a tablet within a frameset, which splits the browser window into two columns, how do i go about doing this?
  10. your website is plain to me, it needs more colour or something, it needs to be more of an eye catching appeal, it comes off a little boring to me. your Blog and Contact pages is displaying the codes which is a bad thing to have on your website as i come to learn this a few years ago. Your link on the word "business" took me to some other website, is this website yours?
  11. that is where the file for the font is, so where ever you have the file thats how you put it in the css code
  12. not too sure what your doing, theres no code for me to view, but you would have to know what each column width needs to be plus the padding and margin, and yes theres a screen view "always get this part wrong off my head" that enable you to use @media within the css code, this help you to style the website depending on the width you want, but you should real do more research on css and html, read up more then try again. it will help u
  13. mhmm then ill stick to my good practice
  14. wouldn't you need to use a semi-colon after each style when you're using css? like html, body { height:100%; } or is it possible to do this html, body { height:100% }
  15. I would float 2 of then to the left with X width, and the right float to the right with X width, and when it comes to smaller screen I would drop them down to under each other
  16. i did stated what I wanted, I even give you an example of what I wanted to do and explained that I would like the div to be slide/push from the opposite side instead of the direction as the example is being slide/pushed
  17. not really this, i wanted the div width to slide out, like the first example i give, so the theme would be something like this <-- || --> where the arrows is how the divs slides out
  18. hi im trying to use this animation function in css, but instead of pushing the element from this -----> direction, i would like to push it from this <----- direction, how do i go about doing this? i try using negative values but it didnt do what i wish i am using the w3school example to do this div { width: 100px; height: 100px; background: red; -webkit-animation: myfirst 5s; /* Chrome, Safari, Opera */ animation: myfirst 5s;}/* Chrome, Safari, Opera */@-webkit-keyframes myfirst { from {width:0%;} to {width:50%;}}/* Standard syntax */@keyframes myfirst { from {width:50%;} to {width:0%;}}</style>
  19. you have the ul tag in the nav, so you might want to actually style that element so it can be in the right place
  20. not that i know of, since wamp is more of a local server for your personal computer
  21. remove all that drop-shadows and gradient. put some color in it, remove the text shadow put some spacing in it also
×
×
  • Create New...